diff options
Diffstat (limited to 'netlib/http/headers.py')
-rw-r--r-- | netlib/http/headers.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/netlib/http/headers.py b/netlib/http/headers.py index 9b8fdae4..bcb828da 100644 --- a/netlib/http/headers.py +++ b/netlib/http/headers.py @@ -5,7 +5,7 @@ Unicode Handling See also: http://lucumr.pocoo.org/2013/7/2/the-updated-guide-to-unicode/ """ from __future__ import absolute_import, print_function, division -import copy + try: from collections.abc import MutableMapping except ImportError: # pragma: no cover @@ -190,9 +190,6 @@ class Headers(MutableMapping, Serializable): [name, value] for value in values ) - def copy(self): - return Headers(copy.copy(self.fields)) - def get_state(self): return tuple(tuple(field) for field in self.fields) |