aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/pathod.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-06-30 10:51:13 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-06-30 10:51:13 +1200
commit2cb55ee0f5b00c2c3f4f6d9ba9360c31b82b095c (patch)
tree585965edd2745d565251003877eee8e845afdcce /libpathod/pathod.py
parent654a84174adbb323423d4a5a0a9c3945df073610 (diff)
downloadmitmproxy-2cb55ee0f5b00c2c3f4f6d9ba9360c31b82b095c.tar.gz
mitmproxy-2cb55ee0f5b00c2c3f4f6d9ba9360c31b82b095c.tar.bz2
mitmproxy-2cb55ee0f5b00c2c3f4f6d9ba9360c31b82b095c.zip
Factor out request printing in to a method, and test it.
Diffstat (limited to 'libpathod/pathod.py')
-rw-r--r--libpathod/pathod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py
index 2d3264f8..50e30c45 100644
--- a/libpathod/pathod.py
+++ b/libpathod/pathod.py
@@ -124,7 +124,7 @@ class Pathod(tcp.TCPServer):
def handle_connection(self, request, client_address):
h = PathodHandler(request, client_address, self)
- h.handle()
+ h.handle()
h.finish()
def add_log(self, d):