From a724fd606ac1c9243571daeb39ae4663e92a5ab8 Mon Sep 17 00:00:00 2001 From: redfast00 Date: Sun, 5 Jun 2016 20:47:10 +0200 Subject: [PATCH] Now keeps header capitalization --- netlib/multidict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlib/multidict.py b/netlib/multidict.py index dc0f34665..982a11780 100644 --- a/netlib/multidict.py +++ b/netlib/multidict.py @@ -105,7 +105,7 @@ class _MultiDict(MutableMapping, basetypes.Serializable): if self._kconv(field[0]) == key_kconv: if values: new_fields.append( - (key, values.pop(0)) + (field[0], values.pop(0)) ) else: new_fields.append(field)