Now keeps header capitalization

This commit is contained in:
redfast00 2016-06-05 20:47:10 +02:00
parent ef462a05d7
commit a724fd606a
No known key found for this signature in database
GPG Key ID: B7DD106EAC545F95

View File

@ -105,7 +105,7 @@ class _MultiDict(MutableMapping, basetypes.Serializable):
if self._kconv(field[0]) == key_kconv: if self._kconv(field[0]) == key_kconv:
if values: if values:
new_fields.append( new_fields.append(
(key, values.pop(0)) (field[0], values.pop(0))
) )
else: else:
new_fields.append(field) new_fields.append(field)