class CaseInsensitiveMapping(Mapping):
Known subclasses: django.http.request.HttpHeaders
, django.http.response.ResponseHeaders
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 |