From 4c04469cfb22c31871b33c0344c73f636109fda9 Mon Sep 17 00:00:00 2001 From: Piotr Jurkiewicz Date: Thu, 14 Apr 2016 18:10:50 +0200 Subject: [PATCH] Change _store of CaseInsensitiveDict to OrderedDict --- requests/structures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests/structures.py b/requests/structures.py index 3e5f2faa..edbe3f5f 100644 --- a/requests/structures.py +++ b/requests/structures.py @@ -40,7 +40,7 @@ class CaseInsensitiveDict(collections.MutableMapping): """ def __init__(self, data=None, **kwargs): - self._store = dict() + self._store = collections.OrderedDict() if data is None: data = {} self.update(data, **kwargs)