aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/http.py')
-rw-r--r--mitmproxy/http.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mitmproxy/http.py b/mitmproxy/http.py
index c09778fe..7762647b 100644
--- a/mitmproxy/http.py
+++ b/mitmproxy/http.py
@@ -56,6 +56,7 @@ class HTTPRequest(http.Request):
return state
def set_state(self, state):
+ state = state.copy()
self.is_replay = state.pop("is_replay")
super().set_state(state)