diff options
author | Shadab Zafar <dufferzafar0@gmail.com> | 2016-06-06 16:06:56 +0530 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-06-06 11:52:45 -0700 |
commit | afa2ad81df2478b6c6b2819ee2c0460128aeff4a (patch) | |
tree | d9a3c49ca579c3156ea8e4fd1b12aaf110cec563 | |
parent | b03a98f9fcdddead9a30c8818c230c2771d1e073 (diff) | |
download | mitmproxy-afa2ad81df2478b6c6b2819ee2c0460128aeff4a.tar.gz mitmproxy-afa2ad81df2478b6c6b2819ee2c0460128aeff4a.tar.bz2 mitmproxy-afa2ad81df2478b6c6b2819ee2c0460128aeff4a.zip |
Py3: encode() status code responses
-rw-r--r-- | pathod/language/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/language/http.py b/pathod/language/http.py index b2af0864..4cc7db5f 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 |