summaryrefslogtreecommitdiff
path: root/oauthlib/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'oauthlib/common.py')
-rw-r--r--oauthlib/common.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/oauthlib/common.py b/oauthlib/common.py
index 5d999b2..705cbd2 100644
--- a/oauthlib/common.py
+++ b/oauthlib/common.py
@@ -354,6 +354,11 @@ class CaseInsensitiveDict(dict):
super(CaseInsensitiveDict, self).__setitem__(k, v)
self.proxy[k.lower()] = k
+ def update(self, *args, **kwargs):
+ super(CaseInsensitiveDict, self).update(*args, **kwargs)
+ for k in dict(*args, **kwargs):
+ self.proxy[k.lower()] = k
+
class Request(object):