aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/language
diff options
context:
space:
mode:
authorShadab Zafar <dufferzafar0@gmail.com>2016-06-06 16:06:56 +0530
committerMaximilian Hils <git@maximilianhils.com>2016-06-06 11:52:45 -0700
commitafa2ad81df2478b6c6b2819ee2c0460128aeff4a (patch)
treed9a3c49ca579c3156ea8e4fd1b12aaf110cec563 /pathod/language
parentb03a98f9fcdddead9a30c8818c230c2771d1e073 (diff)
downloadmitmproxy-afa2ad81df2478b6c6b2819ee2c0460128aeff4a.tar.gz
mitmproxy-afa2ad81df2478b6c6b2819ee2c0460128aeff4a.tar.bz2
mitmproxy-afa2ad81df2478b6c6b2819ee2c0460128aeff4a.zip
Py3: encode() status code responses
Diffstat (limited to 'pathod/language')
-rw-r--r--pathod/language/http.py2
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