diff options
Diffstat (limited to 'netlib/http')
-rw-r--r-- | netlib/http/headers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/http/headers.py b/netlib/http/headers.py index 413add87..c8cf3e43 100644 --- a/netlib/http/headers.py +++ b/netlib/http/headers.py @@ -183,8 +183,8 @@ class Headers(multidict.MultiDict): pass else: replacements += n - fields.append([name, value]) - self.fields = fields + fields.append((name, value)) + self.fields = tuple(fields) return replacements |