mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
no longer strips Accept-Encoding as mitmproxy can handle compression
This commit is contained in:
parent
25705af76d
commit
55e89865ff
@ -9,7 +9,6 @@ def start(context, argv) :
|
|||||||
|
|
||||||
def request(context, flow) :
|
def request(context, flow) :
|
||||||
|
|
||||||
flow.request.headers.pop('Accept-Encoding', None)
|
|
||||||
flow.request.headers.pop('If-Modified-Since', None)
|
flow.request.headers.pop('If-Modified-Since', None)
|
||||||
flow.request.headers.pop('Cache-Control', None)
|
flow.request.headers.pop('Cache-Control', None)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user