diff --git a/pathod/language/http.py b/pathod/language/http.py index b2af08646..4cc7db5f4 100644 --- a/pathod/language/http.py +++ b/pathod/language/http.py @@ -182,7 +182,7 @@ class Response(_HTTPMessage): status_codes.RESPONSES.get( status_code, b"Unknown code" - ) + ).encode() ) return l