no longer strips Accept-Encoding as mitmproxy can handle compression

This commit is contained in:
Niko Kommenda 2016-01-12 22:25:42 +00:00
parent 25705af76d
commit 55e89865ff

View File

@ -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)