class documentation

class FileField:

View In Hierarchy

A single file field item, within a multipart form field.
Method __init__ Undocumented
Method get​_length Undocumented
Method render Undocumented
Method render​_data Undocumented
Method render​_headers Undocumented
Constant CHUNK​_SIZE Undocumented
Instance Variable file Undocumented
Instance Variable filename Undocumented
Instance Variable headers Undocumented
Instance Variable name Undocumented
Instance Variable ​_consumed Undocumented
Instance Variable ​_data Undocumented
Instance Variable ​_headers Undocumented
def __init__(self, name, value):

Undocumented

Parameters
name:strUndocumented
value:FileTypesUndocumented
def get_length(self):

Undocumented

Returns
intUndocumented
def render(self):

Undocumented

Returns
typing.Iterator[bytes]Undocumented
def render_data(self):

Undocumented

Returns
typing.Iterator[bytes]Undocumented
def render_headers(self):

Undocumented

Returns
bytesUndocumented
CHUNK_SIZE =

Undocumented

Value
64*1024
file =

Undocumented

filename =

Undocumented

headers =

Undocumented

name =

Undocumented

_consumed: bool =

Undocumented

_data =

Undocumented

_headers =

Undocumented