mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-01 07:49:10 +00:00
fix error html
This commit is contained in:
parent
47a78e3c72
commit
3887e7ed29
@ -1198,7 +1198,7 @@ class HTTPHandler(ProtocolHandler):
|
|||||||
<head>
|
<head>
|
||||||
<title>%d %s</title>
|
<title>%d %s</title>
|
||||||
</head>
|
</head>
|
||||||
<body %s</body>
|
<body>%s</body>
|
||||||
</html>
|
</html>
|
||||||
""" % (code, response, message)
|
""" % (code, response, message)
|
||||||
self.c.client_conn.wfile.write("HTTP/1.1 %s %s\r\n" % (code, response))
|
self.c.client_conn.wfile.write("HTTP/1.1 %s %s\r\n" % (code, response))
|
||||||
|
Loading…
Reference in New Issue
Block a user