class documentation

class CaseInsensitiveMapping(Mapping):

Known subclasses: django.http.request.HttpHeaders, django.http.response.ResponseHeaders

View In Hierarchy

Mapping allowing case-insensitive key lookups. Original case of keys is preserved for iteration and string representation.

Example:

>>> ci_map = CaseInsensitiveMapping({'name': 'Jane'})
>>> ci_map['Name']
Jane
>>> ci_map['NAME']
Jane
>>> ci_map['name']
Jane
>>> ci_map  # original case preserved
{'name': 'Jane'}
Method __eq__ Undocumented
Method __getitem__ Undocumented
Method __init__ Undocumented
Method __iter__ Undocumented
Method __len__ Undocumented
Method __repr__ Undocumented
Method copy Undocumented
Instance Variable ​_store Undocumented
def __eq__(self, other):

Undocumented

def __getitem__(self, key):

Undocumented

def __init__(self, data):
def __iter__(self):

Undocumented

def __len__(self):

Undocumented

def __repr__(self):

Undocumented

def copy(self):

Undocumented

_store =

Undocumented