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