aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-04-09 02:09:33 +0200
committerMaximilian Hils <git@maximilianhils.com>2015-04-09 02:09:33 +0200
commite58f76aec1db9cc784a3b73c3050d010bb084968 (patch)
tree9246b960a95e82953cd8e49e0423e8166ec20543 /netlib/http.py
parent7f7ccd3a1865e8e73f3d1813182d01c607d6e501 (diff)
downloadmitmproxy-e58f76aec1db9cc784a3b73c3050d010bb084968.tar.gz
mitmproxy-e58f76aec1db9cc784a3b73c3050d010bb084968.tar.bz2
mitmproxy-e58f76aec1db9cc784a3b73c3050d010bb084968.zip
fix code smell
Diffstat (limited to 'netlib/http.py')
-rw-r--r--netlib/http.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/http.py b/netlib/http.py
index d2fc6343..26438863 100644
--- a/netlib/http.py
+++ b/netlib/http.py
@@ -333,8 +333,8 @@ def read_response(rfile, request_method, body_size_limit, include_body=True):
False
)
else:
- # if include_body==False then a None content means the body should be
- # read separately
+ # if include_body==False then a None content means the body should be
+ # read separately
content = None
return httpversion, code, msg, headers, content