From 37d731aacd4c7cf6d03836e50bf3eed0955eff47 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Tue, 21 Apr 2015 11:42:27 +1200 Subject: [PATCH] Missed some un-needed variable declarations --- libmproxy/protocol/http.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libmproxy/protocol/http.py b/libmproxy/protocol/http.py index e5ec53c3f..852ce393f 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