class documentation

class MultiPartParser:

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method fail Undocumented
Method get​_part​_charset Undocumented
Method parse Undocumented
Method start​_file​_streaming Undocumented
Instance Variable buffer​_size Undocumented
Instance Variable charset Undocumented
Instance Variable cls Undocumented
Instance Variable errors Undocumented
Instance Variable max​_form​_memory​_size Undocumented
Instance Variable stream​_factory Undocumented
def __init__(self, stream_factory=None, charset='utf-8', errors='replace', max_form_memory_size=None, cls=None, buffer_size=64*1024):

Undocumented

Parameters
stream​_factory:t.Optional[TStreamFactory]Undocumented
charset:strUndocumented
errors:strUndocumented
max​_form​_memory​_size:t.Optional[int]Undocumented
cls:t.Optional[t.Type[MultiDict]]Undocumented
buffer​_size:intUndocumented
def fail(self, message):

Undocumented

Parameters
message:strUndocumented
Returns
te.NoReturnUndocumented
def get_part_charset(self, headers):

Undocumented

Parameters
headers:HeadersUndocumented
Returns
strUndocumented
def parse(self, stream, boundary, content_length):

Undocumented

Parameters
stream:t.IO[bytes]Undocumented
boundary:bytesUndocumented
content​_length:t.Optional[int]Undocumented
Returns
t.Tuple[MultiDict, MultiDict]Undocumented
def start_file_streaming(self, event, total_content_length):

Undocumented

Parameters
event:FileUndocumented
total​_content​_length:t.Optional[int]Undocumented
Returns
t.IO[bytes]Undocumented
buffer_size =

Undocumented

charset =

Undocumented

cls =

Undocumented

errors =

Undocumented

max_form_memory_size =

Undocumented

stream_factory =

Undocumented