From 35beda21b8187f7a5e99d76084c7ddbd05f4b738 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 14 May 2011 22:02:14 -0400 Subject: [PATCH] pass things into the dict --- requests/structures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requests/structures.py b/requests/structures.py index dcf47d6..391ddb1 100644 --- a/requests/structures.py +++ b/requests/structures.py @@ -14,9 +14,9 @@ from UserDict import DictMixin class CaseInsensitiveDict(DictMixin): """docstring for CaseInsensitiveDict""" - def __init__(self): + def __init__(self, *args, **kwargs): # super(CaseInsensitiveDict, self).__init__() - self.data = dict() + self.data = dict(*args, **kwargs) def __repr__(self): return self.data.__repr__() -- 2.7.4