diff options
author | Marcelo Glezer <mg@tekii.com.ar> | 2015-01-14 12:09:14 -0300 |
---|---|---|
committer | Marcelo Glezer <mg@tekii.com.ar> | 2015-02-05 11:31:24 -0300 |
commit | fdd012bdd80b0a1419e8967f10c92a9384a72da5 (patch) | |
tree | 61e4762201afe480bb8413c14b188f980b60600f /libmproxy/protocol/http.py | |
parent | ee75a0b9cbe5f4882453d2f1cb0d0a7df431200a (diff) | |
download | mitmproxy-fdd012bdd80b0a1419e8967f10c92a9384a72da5.tar.gz mitmproxy-fdd012bdd80b0a1419e8967f10c92a9384a72da5.tar.bz2 mitmproxy-fdd012bdd80b0a1419e8967f10c92a9384a72da5.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 63f9e47b..f59b76ad 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): |