From c4d06b15644ff4a397df04f48c11ebb5796d36fe Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Wed, 30 Oct 2013 18:16:22 -0700 Subject: [PATCH] log all requests, not just CONNECT --- warcprox.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/warcprox.py b/warcprox.py index d52f610..9bb9cd1 100755 --- a/warcprox.py +++ b/warcprox.py @@ -342,7 +342,9 @@ class WarcProxyHandler(BaseHTTPServer.BaseHTTPRequestHandler): buf = h.read(8192) while buf != '': - buf = h.read(8192) + buf = h.read(8192) + + self.log_request(h.status, h.recorder.len) remote_ip = self._proxy_sock.getpeername()[0]