diff options
author | Marcelo Glezer <mg@tekii.com.ar> | 2015-01-14 12:09:14 -0300 |
---|---|---|
committer | Marcelo Glezer <mg@tekii.com.ar> | 2015-01-14 12:09:14 -0300 |
commit | 36ec20bbb8a0b91a265849c48a660b3fd29d7122 (patch) | |
tree | 9b1176b3dcd510fd4d5600610f362f8a6efeca5b /libmproxy/protocol/http.py | |
parent | a4bfa677e95b058c50d49b4b3ae986351ed0cbf8 (diff) | |
download | mitmproxy-36ec20bbb8a0b91a265849c48a660b3fd29d7122.tar.gz mitmproxy-36ec20bbb8a0b91a265849c48a660b3fd29d7122.tar.bz2 mitmproxy-36ec20bbb8a0b91a265849c48a660b3fd29d7122.zip |
removed invalid comment and unneeded safe text
Diffstat (limited to 'libmproxy/protocol/http.py')
-rw-r--r-- | libmproxy/protocol/http.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libmproxy/protocol/http.py b/libmproxy/protocol/http.py index f822fcc8..9846fc5b 100644 --- a/libmproxy/protocol/http.py +++ b/libmproxy/protocol/http.py @@ -956,15 +956,11 @@ class HTTPFlow(Flow): def response_content(self): with decoded(self.response): s = self.response.content - if s == None: - s = "[No content]" return s def response_headers(self): with decoded(self.response): s = str(self.response.headers) - if s == None: - s = "[]" return s class HttpAuthenticationError(Exception): |