From b13acd7956f2e09bf5f9001f8f55d018a381f6c2 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 26 Sep 2015 01:23:59 +0200 Subject: adjust to netlib request changes + docs --- examples/dns_spoofing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/dns_spoofing.py') 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("[]") -- cgit v1.2.3