aboutsummaryrefslogtreecommitdiffstats
path: root/examples/addons/options-simple.py
diff options
context:
space:
mode:
authorYoann L <yoann.lamouroux@data-impact.fr>2019-10-25 10:38:35 +0200
committerYoann L <yoann.lamouroux@data-impact.fr>2019-10-25 10:38:35 +0200
commitad120c380aeca740d3a9a24b05dc3f181a9557b7 (patch)
treee4bc94dd6e22c3f317736ad71b4ed6f074c78a16 /examples/addons/options-simple.py
parenteb7ed1dc40025dd9eada5b01852fc20106a4a204 (diff)
downloadmitmproxy-ad120c380aeca740d3a9a24b05dc3f181a9557b7.tar.gz
mitmproxy-ad120c380aeca740d3a9a24b05dc3f181a9557b7.tar.bz2
mitmproxy-ad120c380aeca740d3a9a24b05dc3f181a9557b7.zip
fixes #3559
if the `:authority` header is not found, we can try to guess it from variable `flow.request.pretty_host` as .pop() accepts a fallback parameter
Diffstat (limited to 'examples/addons/options-simple.py')
0 files changed, 0 insertions, 0 deletions