diff options
Diffstat (limited to 'libmproxy')
-rw-r--r-- | libmproxy/proxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py index 5e698c5f..ffc9b264 100644 --- a/libmproxy/proxy.py +++ b/libmproxy/proxy.py @@ -338,7 +338,7 @@ class Response(controller.Msg): content = "" if self.request.client_conn.close: headers["connection"] = ["close"] - proto = "HTTP/1.1 %s %s"%(self.code, self.msg) + proto = "HTTP/1.1 %s %s"%(self.code, str(self.msg)) data = (proto, str(headers), content) return self.FMT%data |