diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-28 13:54:53 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-28 13:54:53 +0200 |
commit | c11ab3676dee2a490994665e867bcfcb26945777 (patch) | |
tree | f898c23973b10079fa4479238d5f8f5a8e61d46e /examples/dns_spoofing.py | |
parent | 6661770d4eee3eab3305793613586f3684c24ae9 (diff) | |
parent | 6075957a9730c6ca5c4c7361bd774345f83d6f59 (diff) | |
download | mitmproxy-c11ab3676dee2a490994665e867bcfcb26945777.tar.gz mitmproxy-c11ab3676dee2a490994665e867bcfcb26945777.tar.bz2 mitmproxy-c11ab3676dee2a490994665e867bcfcb26945777.zip |
Merge branch 'http-models'
Diffstat (limited to 'examples/dns_spoofing.py')
-rw-r--r-- | examples/dns_spoofing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dns_spoofing.py b/examples/dns_spoofing.py index 98495d45..7eb79695 100644 --- a/examples/dns_spoofing.py +++ b/examples/dns_spoofing.py @@ -39,7 +39,7 @@ def request(context, flow): sni = None port = 80 - host_header = flow.request.pretty_host(hostheader=True) + host_header = flow.request.pretty_host m = parse_host_header.match(host_header) if m: host_header = m.group("host").strip("[]") |