class documentation

class ResponseHeaders(CaseInsensitiveMapping):

View In Hierarchy

Undocumented

Method __delitem__ Undocumented
Method __init__ Populate the initial data using __setitem__ to ensure values are correctly encoded.
Method __setitem__ Undocumented
Method ​_convert​_to​_charset Convert headers key/value to ascii/latin-1 native strings. charset must be 'ascii' or 'latin-1'. If mime_encode is True and value can't be represented in the given charset, apply MIME-encoding.
Method pop Undocumented
Method setdefault Undocumented
Instance Variable ​_store Undocumented

Inherited from CaseInsensitiveMapping:

Method __eq__ Undocumented
Method __getitem__ Undocumented
Method __iter__ Undocumented
Method __len__ Undocumented
Method __repr__ Undocumented
Method copy Undocumented
def __delitem__(self, key):

Undocumented

def __init__(self, data):
Populate the initial data using __setitem__ to ensure values are correctly encoded.
def __setitem__(self, key, value):

Undocumented

def _convert_to_charset(self, value, charset, mime_encode=False):
Convert headers key/value to ascii/latin-1 native strings. charset must be 'ascii' or 'latin-1'. If mime_encode is True and value can't be represented in the given charset, apply MIME-encoding.
def pop(self, key, default=None):

Undocumented

def setdefault(self, key, value):

Undocumented