Fix host extraction

This commit is contained in:
Ammonite 2017-01-22 15:28:14 +01:00
parent e8fc4af4c6
commit 0ca1916f1b
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class Rerouter:
m = parse_host_header.match(self.host_header)
if m:
host_header = m.group("host").strip("[]")
self.host_header = m.group("host").strip("[]")
if m.group("port"):
port = int(m.group("port"))