6 Commits

Author SHA1 Message Date
砚然
aae5c9b039 pass through all the valid headers when proxing the WebSocket, and adds related test cases 2018-03-23 15:42:38 +08:00
砚然
b49d66a8ee Merge branch 'master' into ws-proxy 2018-01-21 19:43:02 +08:00
砚然
b6c7088965 do not unzip the response body when it's empty, such as 304
also remove the delete operatoin for 'accept-encoding' in the test utils, since AnyProxy will not remove the header now
2017-12-14 23:58:52 +08:00
砚然
60bc1498ae add basic support for websocket proxy 2017-12-12 21:19:36 +08:00
Otto Mao
4be5aa8954 update to 4.0 2017-12-01 21:30:49 +08:00
砚然
e489e188f4 Add test cases for the proxy, and do some tiny fixes.
the fixes are:
1. add "content-type" in headers for when dealing with localresponse
2. make a more accurate tip for throttle rate when lower than 1
3. make the crtMgr funcionality a more independent one
4. uppercase the request header before sending it out

update the tip
2016-08-31 10:41:29 +08:00