Py3: encode() the spec before appending to path

This commit is contained in:
Shadab Zafar 2016-06-08 16:29:21 +05:30
parent 70216673a1
commit 7d62121b85

View File

@ -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])