aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-11-26 04:56:17 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-11-26 04:56:17 +0100
commit3887e7ed29db88fd9f18d42013346c5dce5aa083 (patch)
tree4098af1be8cf595f8378a368401101cf91ba36a4
parent47a78e3c729f4ddb7971b72bfae30140562f4dd6 (diff)
downloadmitmproxy-3887e7ed29db88fd9f18d42013346c5dce5aa083.tar.gz
mitmproxy-3887e7ed29db88fd9f18d42013346c5dce5aa083.tar.bz2
mitmproxy-3887e7ed29db88fd9f18d42013346c5dce5aa083.zip
fix error html
-rw-r--r--libmproxy/protocol/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/protocol/http.py b/libmproxy/protocol/http.py
index 26a94040..386a3666 100644
--- a/libmproxy/protocol/http.py
+++ b/libmproxy/protocol/http.py
@@ -1198,7 +1198,7 @@ class HTTPHandler(ProtocolHandler):
<head>
<title>%d %s</title>
</head>
- <body %s</body>
+ <body>%s</body>
</html>
""" % (code, response, message)
self.c.client_conn.wfile.write("HTTP/1.1 %s %s\r\n" % (code, response))