diff options
Diffstat (limited to 'mitmproxy/models/http.py')
| -rw-r--r-- | mitmproxy/models/http.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mitmproxy/models/http.py b/mitmproxy/models/http.py index f3d425aa..8052b9de 100644 --- a/mitmproxy/models/http.py +++ b/mitmproxy/models/http.py @@ -27,14 +27,6 @@ class MessageMixin(object): return self.content return encoding.decode(ce, self.content) - def copy(self): - c = copy.copy(self) - if hasattr(self, "data"): # FIXME remove condition - c.data = copy.copy(self.data) - - c.headers = self.headers.copy() - return c - def replace(self, pattern, repl, *args, **kwargs): """ Replaces a regular expression pattern with repl in both the headers |
