Py3: encode() status code responses

This commit is contained in:
Shadab Zafar 2016-06-06 16:06:56 +05:30 committed by Maximilian Hils
parent b03a98f9fc
commit afa2ad81df

View File

@ -182,7 +182,7 @@ class Response(_HTTPMessage):
status_codes.RESPONSES.get(
status_code,
b"Unknown code"
)
).encode()
)
return l