mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 23:09:44 +00:00
Py3: encode() the spec before appending to path
This commit is contained in:
parent
70216673a1
commit
7d62121b85
@ -262,7 +262,7 @@ class Request(_HTTP2Message):
|
||||
else:
|
||||
path = self.path.string()
|
||||
if self.nested_response:
|
||||
path += self.nested_response.parsed.spec()
|
||||
path += self.nested_response.parsed.spec().encode()
|
||||
|
||||
headers = Headers([header.values(settings) for header in self.headers])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user