aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/models/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/models/http.py')
-rw-r--r--mitmproxy/models/http.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mitmproxy/models/http.py b/mitmproxy/models/http.py
index 1d7f9eb8..91263b95 100644
--- a/mitmproxy/models/http.py
+++ b/mitmproxy/models/http.py
@@ -53,6 +53,7 @@ class HTTPRequest(http.Request):
# Is this request replayed?
self.is_replay = is_replay
+ self.stream = None
def get_state(self):
state = super().get_state()
@@ -125,7 +126,7 @@ class HTTPResponse(http.Response):
# Is this request replayed?
self.is_replay = is_replay
- self.stream = False
+ self.stream = None
@classmethod
def wrap(self, response):