class documentation

class Headers(CaselessDict):

View In Hierarchy

Case insensitive http headers dictionary
Method __copy__ Undocumented
Method __getitem__ Undocumented
Method __init__ Undocumented
Method ​_tobytes Undocumented
Method appendlist Undocumented
Method get Undocumented
Method getlist Undocumented
Method items Undocumented
Method normkey Normalize key to bytes
Method normvalue Normalize values to bytes
Method setlist Undocumented
Method setlistdefault Undocumented
Method to​_string Undocumented
Method to​_unicode​_dict Return headers as a CaselessDict with unicode keys and unicode values. Multiple values are joined with ','.
Method values Undocumented
Instance Variable encoding Undocumented

Inherited from CaselessDict:

Class Method fromkeys Undocumented
Method __contains__ Undocumented
Method __delitem__ Undocumented
Method __setitem__ Undocumented
Method pop Undocumented
Method setdefault Undocumented
Method update Undocumented
Class Variable __slots__ Undocumented
def __copy__(self):
def __getitem__(self, key):
def __init__(self, seq=None, encoding='utf-8'):
def _tobytes(self, x):

Undocumented

def appendlist(self, key, value):

Undocumented

def get(self, key, def_val=None):
def getlist(self, key, def_val=None):

Undocumented

def items(self):

Undocumented

def normkey(self, key):
Normalize key to bytes
def normvalue(self, value):
Normalize values to bytes
def setlist(self, key, list_):

Undocumented

def setlistdefault(self, key, default_list=()):

Undocumented

def to_string(self):

Undocumented

def to_unicode_dict(self):
Return headers as a CaselessDict with unicode keys and unicode values. Multiple values are joined with ','.
def values(self):

Undocumented

encoding =

Undocumented