why add --http-allow-url option only record response to file?
I found that if i use the command : sudo ./gor_mac --input-raw-track-response --input-raw :8082 --middleware "java gor.AddHeader" --output-file gor-online-%Y-%m-%d-%H.log --output-file-append --http-allow-url ^/order.
only record response log such as: 🐵🙈🙉 2 ffe4d212159fba0191bae2ec2481d1a7352aba20 1249147 HTTP/1.1 200 OK Server: Apache-Coyote/1.1 X-Application-Context: application:test:8082 Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked Date: Fri, 22 Jul 2016 06:35:48 GMT
1178 {"result":"ok","msg":"操作成功","code":200,"data":[{"name":"直营店团购批发满2000减150元","subCategoryList":[{"name":"全部","id":null,"parentId":"5"}],"id":5,"promotion":1},{"img":"http://static.8dol.com/category/icon_category_cold.png","name":"小吃便餐","subCategoryList":[{"name":"全部","id":null,"parentId":"1500"},{"name":"早餐","id":1501,"parentId":1500},{"name":"关东煮","id":1508,"parentId":1500},{"name":"玉米烤肠","id":1511,"parentId":1500},{"name":"汉堡/鸡肉卷","id":1514,"parentId":1500},{"name":"便餐","id":1516,"parentId":1500},{"name":"其他小吃便餐","id":1518,"parentId":1500}]
If i remove --http-allow-url ^/order. it can record request and response.
Hello! Why it was closed, it is not an issue anymore?
On Friday, 22 July 2016, niwei [email protected] wrote:
Closed #343 https://github.com/buger/gor/issues/343.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/buger/gor/issues/343#event-731408038, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA2uRK4TVhNDVwDMDlUp_XRdvM026-aks5qYHFIgaJpZM4JSfMf .
Sincerely yours Leonid Bugaev http://gortool.com - test your system with real data
It‘s my configure the url regular expression error. But now the response still can not filter record to file.See https://github.com/buger/gor/issues/344