We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e94ecd commit 9c72abfCopy full SHA for 9c72abf
pproxy/proto.py
@@ -3,7 +3,7 @@
3
HTTP_LINE = re.compile('([^ ]+) +(.+?) +(HTTP/[^ ]+)$')
4
packstr = lambda s, n=1: len(s).to_bytes(n, 'big') + s
5
6
-def netloc_split(loc, default_port)
+def netloc_split(loc, default_port):
7
ipv6 = re.fullmatch('\[([0-9a-fA-F:]*)\](?::(\d+)?)?', loc)
8
if ipv6:
9
host_name, port = ipv6.groups()
0 commit comments