aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-30 12:02:58 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-30 12:02:58 +1200
commitf76bfabc5d4ce36c56b1d1fd571728ee06f37b78 (patch)
treed9baea0647598db1eb0c0898ed90e72f4333b80e /netlib/http.py
parent5e4850d3b3056d90a798d1563f0a619c5ef37e8c (diff)
downloadmitmproxy-f76bfabc5d4ce36c56b1d1fd571728ee06f37b78.tar.gz
mitmproxy-f76bfabc5d4ce36c56b1d1fd571728ee06f37b78.tar.bz2
mitmproxy-f76bfabc5d4ce36c56b1d1fd571728ee06f37b78.zip
Adjust pep8 parameters, reformat
Diffstat (limited to 'netlib/http.py')
-rw-r--r--netlib/http.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/netlib/http.py b/netlib/http.py
index 47658097..a2af9e49 100644
--- a/netlib/http.py
+++ b/netlib/http.py
@@ -124,7 +124,8 @@ def read_chunked(fp, limit, is_request):
May raise HttpError.
"""
# FIXME: Should check if chunked is the final encoding in the headers
- # http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-16#section-3.3 3.3 2.
+ # http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-16#section-3.3
+ # 3.3 2.
total = 0
code = 400 if is_request else 502
while True: