removed invalid comment and unneeded safe text

This commit is contained in:
Marcelo Glezer 2015-01-14 12:09:14 -03:00
parent a4bfa677e9
commit 36ec20bbb8
2 changed files with 0 additions and 5 deletions

View File

@ -216,7 +216,6 @@ class ConnectionItem(common.WWrap):
self.flow self.flow
) )
elif key == "g": elif key == "g":
#copy flow part
self.master.prompt_onekey( self.master.prompt_onekey(
"Copy Response", "Copy Response",
( (

View File

@ -956,15 +956,11 @@ class HTTPFlow(Flow):
def response_content(self): def response_content(self):
with decoded(self.response): with decoded(self.response):
s = self.response.content s = self.response.content
if s == None:
s = "[No content]"
return s return s
def response_headers(self): def response_headers(self):
with decoded(self.response): with decoded(self.response):
s = str(self.response.headers) s = str(self.response.headers)
if s == None:
s = "[]"
return s return s
class HttpAuthenticationError(Exception): class HttpAuthenticationError(Exception):