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 | |
parent | ee75a0b9cbe5f4882453d2f1cb0d0a7df431200a (diff) | |
download | mitmproxy-fdd012bdd80b0a1419e8967f10c92a9384a72da5.tar.gz mitmproxy-fdd012bdd80b0a1419e8967f10c92a9384a72da5.tar.bz2 mitmproxy-fdd012bdd80b0a1419e8967f10c92a9384a72da5.zip |
removed invalid comment and unneeded safe text
-rw-r--r-- | libmproxy/console/flowlist.py | 1 | ||||
-rw-r--r-- | libmproxy/protocol/http.py | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/libmproxy/console/flowlist.py b/libmproxy/console/flowlist.py index 98b5561f..03dfe5ed 100644 --- a/libmproxy/console/flowlist.py +++ b/libmproxy/console/flowlist.py @@ -218,7 +218,6 @@ class ConnectionItem(common.WWrap): self.flow ) elif key == "g": - #copy flow part self.master.prompt_onekey( "Copy Response", ( 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): |