aboutsummaryrefslogtreecommitdiffstats
path: root/examples/addons/options-simple.py
diff options
context:
space:
mode:
authorYoann L <yoann.lamouroux@data-impact.fr>2019-10-28 17:51:59 +0100
committerYoann L <yoann.lamouroux@data-impact.fr>2019-10-28 17:51:59 +0100
commit33707403614642ae63d7ed24f36c80a3f58ce7ac (patch)
treeb060b880b65dc69ae331cb042048051ea27063eb /examples/addons/options-simple.py
parenteb7ed1dc40025dd9eada5b01852fc20106a4a204 (diff)
downloadmitmproxy-33707403614642ae63d7ed24f36c80a3f58ce7ac.tar.gz
mitmproxy-33707403614642ae63d7ed24f36c80a3f58ce7ac.tar.bz2
mitmproxy-33707403614642ae63d7ed24f36c80a3f58ce7ac.zip
several fixes on command exports has several problems: #3676
* authority can usually rely on actual URL. as `:authority` headers will break curl command. (advise if it's better to change them to Host, or if it should be reported on curl side) * `content-length`: 0 is added for each request. if it's found in the curl argument list, it'll try to fetch an empty body (and crash). also trying to guess on accept-encoding header to add the `--compress` option when fetching potentially compressed content. * ditto for httpie
Diffstat (limited to 'examples/addons/options-simple.py')
0 files changed, 0 insertions, 0 deletions