aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/protocol
diff options
context:
space:
mode:
authorYouhei Sakurai <sakurai.youhei@gmail.com>2015-02-27 10:22:27 +0900
committerYouhei Sakurai <sakurai.youhei@gmail.com>2015-02-27 10:22:27 +0900
commit5916767e036c6c7a816aa964bcd2b2721c7316bb (patch)
treec6a331d5bd930850bd6c8525fa655e7aaede18ea /libmproxy/protocol
parent10f81e596bc0db37c62c0326ae6f7d3891f7756c (diff)
downloadmitmproxy-5916767e036c6c7a816aa964bcd2b2721c7316bb.tar.gz
mitmproxy-5916767e036c6c7a816aa964bcd2b2721c7316bb.tar.bz2
mitmproxy-5916767e036c6c7a816aa964bcd2b2721c7316bb.zip
Correct typo; https://github.com/mitmproxy/mitmproxy/issues/319
Diffstat (limited to 'libmproxy/protocol')
-rw-r--r--libmproxy/protocol/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/protocol/http.py b/libmproxy/protocol/http.py
index 78c4ac80..51fd503f 100644
--- a/libmproxy/protocol/http.py
+++ b/libmproxy/protocol/http.py
@@ -1332,7 +1332,7 @@ class HTTPHandler(ProtocolHandler):
# incrementally:
h = flow.response._assemble_head(preserve_transfer_encoding=True)
self.c.client_conn.send(h)
- for chunk in callabe(flow.response.stream) and \
+ for chunk in callable(flow.response.stream) and \
flow.response.stream(http.read_http_body_chunked(self.c.server_conn.rfile,
flow.response.headers,
self.c.config.body_size_limit, flow.request.method,