aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2013-02-23 16:34:59 +1300
committerAldo Cortesi <aldo@nullcube.com>2013-02-23 16:34:59 +1300
commit269780c57780d155c4d8bd95fcc2af2104effa5b (patch)
tree48df9108a2378cd87dfe2893adcafc88afe52ca5 /libmproxy/proxy.py
parentf203881b0d7f81a7f8ecbc44b7030060242af01b (diff)
downloadmitmproxy-269780c57780d155c4d8bd95fcc2af2104effa5b.tar.gz
mitmproxy-269780c57780d155c4d8bd95fcc2af2104effa5b.tar.bz2
mitmproxy-269780c57780d155c4d8bd95fcc2af2104effa5b.zip
Unit test dummy response functions.
Diffstat (limited to 'libmproxy/proxy.py')
-rw-r--r--libmproxy/proxy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py
index 6d476c7b..c8fac5f4 100644
--- a/libmproxy/proxy.py
+++ b/libmproxy/proxy.py
@@ -194,7 +194,8 @@ class ProxyHandler(tcp.BaseHandler):
sc.rfile.first_byte_timestamp, utils.timestamp()
)
response_reply = self.channel.ask(response)
- # Not replying to the server invalidates the server connection, so we terminate.
+ # Not replying to the server invalidates the server
+ # connection, so we terminate.
if response_reply == KILL:
sc.terminate()