mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Missed some un-needed variable declarations
This commit is contained in:
parent
ddf458b330
commit
37d731aacd
@ -332,8 +332,7 @@ class HTTPRequest(HTTPMessage):
|
|||||||
Raises:
|
Raises:
|
||||||
HttpError: If the input is invalid.
|
HttpError: If the input is invalid.
|
||||||
"""
|
"""
|
||||||
httpversion, host, port, scheme, method, path, headers, content, timestamp_start, timestamp_end = (
|
timestamp_start, timestamp_end = None, None
|
||||||
None, None, None, None, None, None, None, None, None, None)
|
|
||||||
|
|
||||||
timestamp_start = utils.timestamp()
|
timestamp_start = utils.timestamp()
|
||||||
if hasattr(rfile, "reset_timestamps"):
|
if hasattr(rfile, "reset_timestamps"):
|
||||||
@ -871,7 +870,6 @@ class HTTPResponse(HTTPMessage):
|
|||||||
self.headers["Set-Cookie"] = values
|
self.headers["Set-Cookie"] = values
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class HTTPFlow(Flow):
|
class HTTPFlow(Flow):
|
||||||
"""
|
"""
|
||||||
A HTTPFlow is a collection of objects representing a single HTTP
|
A HTTPFlow is a collection of objects representing a single HTTP
|
||||||
|
Loading…
Reference in New Issue
Block a user