From b34419543f979d08686f7b0d598206a10b0c20be Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Wed, 6 May 2020 14:52:32 -0700 Subject: [PATCH] Oops! --- warcprox/mitmproxy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/warcprox/mitmproxy.py b/warcprox/mitmproxy.py index 5f48ed7..36d20db 100644 --- a/warcprox/mitmproxy.py +++ b/warcprox/mitmproxy.py @@ -514,6 +514,8 @@ class MitmProxyHandler(http_server.BaseHTTPRequestHandler): req = req_str.encode('latin1') + b'\r\n\r\n' + return req + def _inner_proxy_request(self, extra_response_headers={}): ''' Sends the request to the remote server, then uses a ProxyingRecorder to