aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/protocol
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-04-21 11:42:27 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-04-21 11:42:27 +1200
commit37d731aacd4c7cf6d03836e50bf3eed0955eff47 (patch)
tree7865f3c71e47584a35c39430842d5a56984a695f /libmproxy/protocol
parentddf458b330bf9fe200cb1dbc3ddb5ae1a5d2102a (diff)
downloadmitmproxy-37d731aacd4c7cf6d03836e50bf3eed0955eff47.tar.gz
mitmproxy-37d731aacd4c7cf6d03836e50bf3eed0955eff47.tar.bz2
mitmproxy-37d731aacd4c7cf6d03836e50bf3eed0955eff47.zip
Missed some un-needed variable declarations
Diffstat (limited to 'libmproxy/protocol')
-rw-r--r--libmproxy/protocol/http.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/libmproxy/protocol/http.py b/libmproxy/protocol/http.py
index e5ec53c3..852ce393 100644
--- a/libmproxy/protocol/http.py
+++ b/libmproxy/protocol/http.py
@@ -332,8 +332,7 @@ class HTTPRequest(HTTPMessage):
Raises:
HttpError: If the input is invalid.
"""
- httpversion, host, port, scheme, method, path, headers, content, timestamp_start, timestamp_end = (
- None, None, None, None, None, None, None, None, None, None)
+ timestamp_start, timestamp_end = None, None
timestamp_start = utils.timestamp()
if hasattr(rfile, "reset_timestamps"):
@@ -871,7 +870,6 @@ class HTTPResponse(HTTPMessage):
self.headers["Set-Cookie"] = values
-
class HTTPFlow(Flow):
"""
A HTTPFlow is a collection of objects representing a single HTTP