mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
removed invalid comment and unneeded safe text
This commit is contained in:
parent
a4bfa677e9
commit
36ec20bbb8
@ -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",
|
||||||
(
|
(
|
||||||
|
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user