mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Py3: encode() status code responses
This commit is contained in:
parent
b03a98f9fc
commit
afa2ad81df
@ -182,7 +182,7 @@ class Response(_HTTPMessage):
|
||||
status_codes.RESPONSES.get(
|
||||
status_code,
|
||||
b"Unknown code"
|
||||
)
|
||||
).encode()
|
||||
)
|
||||
return l
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user