Module Expr Str ImportFrom alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias Assign NameStore TupleLoad Str Str Str ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str If UnaryOpNot Call AttributeLoad NameLoad attr Str body Raise Call NameLoad BinOpMod Str NameLoad Assign TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpOr UnaryOpNot NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Num handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign NameStore Num If CompareLt NameLoad Num body Raise Call NameLoad BinOpMod Str NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad BinOpAdd ListLoad BinOpSub BinOpPow Num Num Num NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Num body Return TupleLoad Call NameLoad Str keyword AttributeLoad NameLoad attr Call NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Return TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr Call NameLoad Str keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore BinOpMult ListLoad Num Call NameLoad NameLoad TryExcept body For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr body If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore NameLoad TryExcept body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr handlers ExceptHandler type TupleLoad NameLoad NameLoad NameLoad body Continue Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call NameLoad NameLoad NameLoad keyword Str If CompareEq NameLoad NameLoad body If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Str handlers ExceptHandler body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad NameLoad keyword Str orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Continue Assign NameStore Call NameLoad NameLoad NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str TupleLoad Str Index Num attr TryExcept body Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str TupleLoad Num Dict Index Num attr Str NameLoad handlers ExceptHandler body Assign NameStore NameLoad TryExcept body Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num handlers ExceptHandler type TupleLoad NameLoad NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore BinOpMult ListLoad Num Call NameLoad NameLoad TryExcept body For NameStore NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Break For NameStore NameLoad body If CompareEq NameLoad Str body Assign NameStore BinOpMod Call NameLoad NameLoad Num If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpSub Num NameLoad AugAssignAdd NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad If CompareIs NameLoad NameLoad body Break handlers ExceptHandler type NameLoad body Expr Call NameLoad NameLoad orelse Assign NameStore NameLoad orelse Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr orelse Expr Call NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Break Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr keyword Str NameLoad Break decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpAnd NameLoad Call AttributeLoad SubscriptLoad NameLoad Slice BinOpAdd Call AttributeLoad NameLoad attr Str Num attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body FunctionDef arguments args defaults body Assign NameStore IfExp CompareIs NameLoad NameLoad AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Expr Yield Call AttributeLoad Str attr NameLoad Return While CompareNotEq NameLoad Num body Assert CompareGt NameLoad Num Str Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad AugAssignSub NameStore Call NameLoad NameLoad Expr Yield NameLoad decorator_list Assign NameStore Call AttributeLoad Str attr Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AugAssignSub AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Str attr ListLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr BinOpAdd ListLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq NameLoad NameLoad If CompareGt NameLoad Num body Raise Call NameLoad Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults BinOpMult Num Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad If NameLoad body Return NameLoad orelse Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpAdd Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num If UnaryOpNot NameLoad body Raise Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Raise Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore ListLoad For NameStore NameLoad body AugAssignAdd NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareGt NameLoad NameLoad body Break If UnaryOpNot NameLoad body Break orelse Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad CompareLt Call NameLoad NameLoad AttributeLoad NameLoad attr If NameLoad body Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad Assign AttributeStore NameLoad attr NameLoad Return SubscriptLoad NameLoad Slice NameLoad orelse If UnaryOpNot SubscriptLoad NameLoad Slice UnaryOpUSub NameLoad body Assign AttributeStore NameLoad attr NameLoad Return NameLoad orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice UnaryOpUSub NameLoad Return SubscriptLoad NameLoad Slice UnaryOpUSub NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareLt NameLoad Num body Return NameLoad orelse Assign NameStore NameLoad Assign NameStore BinOpAdd NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num BinOpSub NameLoad Num If CompareEq SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num Str body AugAssignSub NameStore Num Assign NameStore Call NameLoad Num BinOpSub NameLoad Num If CompareEq SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num Str body AugAssignSub NameStore Num Return TupleLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad NameLoad Num If CompareIs NameLoad NameLoad body Raise Call NameLoad Str For NameStore NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad NameLoad TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num handlers ExceptHandler body Raise Call NameLoad BinOpMod Str NameLoad Return TupleLoad NameLoad TupleLoad NameLoad NameLoad decorator_list If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad Dict NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Assign NameStore NameLoad Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr Str body TryExcept body Assign TupleStore NameStore TupleStore NameStore NameStore Call NameLoad NameLoad handlers ExceptHandler body Continue If CompareEq NameLoad Str body Assign NameStore NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad NameLoad If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Yield Call NameLoad NameLoad Num decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad BinOpAdd Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Num attr attr Str Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGtE NameLoad Num body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad attr attr attr Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num attr If BoolOpAnd CompareGtE Call NameLoad NameLoad Num CompareEqEq SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad While CompareEq SubscriptLoad NameLoad Slice Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr Str While BoolOpAnd CompareGt NameLoad Num BinOpMod Call AttributeLoad NameLoad attr Str Num NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Num If CompareLt NameLoad Num body Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice NameLoad Return NameLoad decorator_list
N/A N/A 
Multi-part parsing for file uploads.

Exposes one class, ``MultiPartParser``, which feeds chunks of uploaded data to
file upload handlers for processing.
 __future__ unicode_literals N/A base64 N/A cgi N/A sys django.conf settings django.core.exceptions SuspiciousMultipartForm django.utils.datastructures MultiValueDict django.utils.encoding force_text django.utils six django.utils.text unescape_entities django.core.files.uploadhandler StopUpload SkipFile StopFutureHandlers N/A __all__ N/A MultiPartParser MultiPartParserError InputStreamExhausted MultiPartParserError N/A Exception N/A N/A N/A InputStreamExhausted N/A Exception N/A N/A 
    No more reads are allowed from this device.
     N/A N/A N/A RAW raw N/A FILE file N/A FIELD field MultiPartParser N/A object N/A N/A 
    A rfc2388 multipart/form-data parser.

    ``MultiValueDict.parse()`` reads the input stream in ``chunk_size`` chunks
    and returns a tuple of ``(MultiValueDict(POST), MultiValueDict(FILES))``.
     __init__ N/A N/A self META input_data upload_handlers encoding N/A None N/A N/A 
        Initialize the MultiPartParser object.

        :META:
            The standard ``META`` dictionary in Django request objects.
        :input_data:
            The raw post data, as a file-like object.
        :upload_handlers:
            A list of UploadHandler instances that perform operations on the uploaded
            data. 
        :encoding:
            The encoding with which to treat the incoming data.
         N/A content_type N/A N/A META get HTTP_CONTENT_TYPE N/A N/A META get CONTENT_TYPE N/A N/A N/A N/A content_type startswith multipart/ N/A N/A N/A MultiPartParserError N/A Invalid Content-Type: %s content_type N/A N/A ctypes opts N/A parse_header N/A N/A content_type encode ascii N/A boundary N/A N/A opts get boundary N/A N/A N/A boundary N/A N/A N/A cgi valid_boundary boundary N/A N/A N/A MultiPartParserError N/A Invalid boundary in multipart: %s boundary N/A N/A N/A content_length N/A int N/A N/A META get HTTP_CONTENT_LENGTH N/A N/A META get CONTENT_LENGTH 0 N/A N/A N/A N/A ValueError TypeError N/A N/A content_length 0 N/A N/A content_length 0 N/A N/A N/A MultiPartParserError N/A Invalid content length: %r content_length N/A N/A isinstance boundary N/A six text_type N/A N/A boundary N/A N/A boundary encode ascii N/A N/A self _boundary boundary N/A N/A self _input_data input_data N/A possible_sizes N/A N/A x chunk_size N/A x upload_handlers N/A x chunk_size N/A N/A self _chunk_size N/A min N/A N/A N/A N/A 2 31 4 possible_sizes N/A N/A self _meta META N/A N/A self _encoding N/A encoding N/A settings DEFAULT_CHARSET N/A N/A self _content_length content_length N/A N/A self _upload_handlers upload_handlers N/A parse N/A N/A self N/A N/A N/A 
        Parse the POST data and break it into a FILES MultiValueDict and a POST
        MultiValueDict.

        Returns a tuple containing the POST and FILES dictionary, respectively.
         django.http QueryDict N/A encoding N/A self _encoding N/A handlers N/A self _upload_handlers N/A N/A N/A self _content_length 0 N/A N/A N/A N/A QueryDict encoding N/A self _encoding N/A MultiValueDict N/A handler handlers N/A N/A result N/A N/A handler handle_raw_input N/A self _input_data N/A self _meta N/A self _content_length N/A self _boundary encoding N/A N/A result None N/A N/A N/A N/A result N/A 0 N/A result N/A 1 N/A N/A self _post N/A QueryDict mutable True N/A N/A self _files N/A MultiValueDict N/A stream N/A LazyStream N/A ChunkIter N/A self _input_data N/A self _chunk_size N/A old_field_name None N/A counters N/A N/A 0 N/A len handlers N/A N/A N/A N/A item_type meta_data field_stream N/A Parser stream N/A self _boundary N/A N/A old_field_name N/A N/A N/A N/A self handle_file_complete old_field_name counters N/A old_field_name None N/A N/A N/A disposition N/A N/A meta_data N/A content-disposition N/A 1 N/A field_name N/A N/A N/A disposition N/A name strip N/A N/A N/A N/A KeyError IndexError AttributeError N/A N/A N/A transfer_encoding N/A N/A meta_data get content-transfer-encoding N/A N/A transfer_encoding None N/A N/A transfer_encoding N/A N/A N/A transfer_encoding N/A 0 strip N/A field_name N/A force_text field_name encoding errors replace N/A N/A item_type FIELD N/A N/A N/A transfer_encoding base64 N/A N/A raw_data N/A N/A field_stream read N/A N/A N/A data N/A N/A N/A str raw_data decode base64 N/A N/A N/A N/A data raw_data N/A N/A data N/A N/A field_stream read N/A N/A N/A N/A self _post appendlist field_name N/A force_text data encoding errors replace N/A N/A N/A item_type FILE N/A N/A file_name N/A N/A disposition get filename N/A N/A file_name N/A N/A N/A file_name N/A force_text file_name encoding errors replace N/A file_name N/A N/A self IE_sanitize N/A unescape_entities file_name N/A content_type N/A N/A N/A N/A N/A meta_data get content-type N/A N/A 0 strip N/A N/A N/A charset N/A N/A N/A N/A N/A meta_data get content-type N/A 0 N/A N/A 1 get charset None N/A N/A N/A N/A charset None N/A N/A N/A content_length N/A int N/A N/A N/A meta_data get content-length N/A 0 N/A N/A N/A N/A IndexError TypeError ValueError N/A N/A content_length None N/A counters N/A N/A 0 N/A len handlers N/A N/A N/A handler handlers N/A N/A N/A N/A N/A N/A handler new_file field_name file_name content_type content_length charset N/A N/A N/A StopFutureHandlers N/A N/A N/A chunk field_stream N/A N/A N/A transfer_encoding base64 N/A N/A over_bytes N/A N/A len chunk 4 N/A over_bytes N/A N/A over_chunk N/A N/A field_stream read N/A 4 over_bytes N/A chunk over_chunk N/A N/A N/A chunk N/A N/A base64 b64decode chunk N/A N/A N/A Exception N/A e N/A N/A msg N/A Could not decode base64 data: %r e N/A N/A N/A six reraise MultiPartParserError N/A MultiPartParserError msg N/A N/A N/A sys exc_info N/A 2 N/A N/A i handler N/A enumerate handlers N/A N/A chunk_length N/A len chunk N/A chunk N/A N/A handler receive_data_chunk chunk N/A counters N/A i N/A N/A counters N/A i chunk_length N/A N/A chunk None N/A N/A N/A N/A N/A SkipFile N/A N/A N/A exhaust field_stream N/A N/A old_field_name field_name N/A N/A N/A exhaust stream N/A N/A N/A StopUpload N/A e N/A N/A N/A N/A e connection_reset N/A N/A N/A exhaust N/A self _input_data N/A N/A N/A exhaust N/A self _input_data N/A handler handlers N/A N/A retval N/A N/A handler upload_complete N/A retval N/A N/A N/A N/A N/A self _post N/A self _files N/A handle_file_complete N/A N/A self old_field_name counters N/A N/A N/A 
        Handle all the signalling that takes place when a file is complete.
         N/A N/A i handler N/A enumerate N/A self _upload_handlers N/A N/A file_obj N/A N/A handler file_complete N/A counters N/A i N/A file_obj N/A N/A N/A N/A N/A self _files appendlist N/A force_text old_field_name N/A self _encoding errors replace file_obj N/A N/A IE_sanitize N/A N/A self filename N/A N/A N/A Cleanup filename from Internet Explorer full paths. N/A N/A filename N/A N/A N/A filename N/A N/A N/A N/A filename rfind \ 1 strip N/A N/A LazyStream N/A N/A six Iterator N/A N/A 
    The LazyStream wrapper allows one to get and "unget" bytes from a stream.

    Given a producer object (an iterator that yields bytestrings), the
    LazyStream object will support iteration, reading, and keeping a "look-back"
    variable in case you need to "unget" some bytes.
     __init__ N/A N/A self producer length N/A None N/A N/A 
        Every LazyStream must have a producer when instantiated.

        A producer is an iterable that returns a string each time it
        is called.
         N/A N/A self _producer producer N/A N/A self _empty False N/A N/A self _leftover N/A N/A self length length N/A N/A self position 0 N/A N/A self _remaining length N/A N/A self _unget_history N/A N/A tell N/A N/A self N/A N/A N/A N/A self position N/A read N/A N/A self size N/A None N/A parts N/A N/A N/A N/A N/A remaining N/A N/A size None N/A self _remaining size N/A N/A remaining None N/A N/A N/A N/A N/A join self N/A N/A N/A remaining 0 N/A N/A N/A remaining 0 remaining bytes to read should never go negative N/A chunk N/A next self N/A emitting N/A chunk N/A remaining N/A N/A N/A self unget N/A chunk N/A remaining N/A remaining N/A len emitting N/A N/A emitting N/A N/A out N/A N/A join N/A parts N/A out N/A __next__ N/A N/A self N/A N/A N/A 
        Used when the exact number of bytes to read is unimportant.

        This procedure just returns whatever is chunk is conveniently returned
        from the iterator instead. Useful to avoid unnecessary bookkeeping if
        performance is an issue.
         N/A N/A self _leftover N/A N/A output N/A self _leftover N/A N/A self _leftover N/A N/A output N/A next N/A self _producer N/A N/A self _unget_history N/A N/A N/A self position N/A len output N/A output N/A close N/A N/A self N/A N/A N/A 
        Used to invalidate/disable this lazy stream.

        Replaces the producer with an empty list. Any leftover bytes that have
        already been read will still be reported upon read() and/or next().
         N/A N/A self _producer N/A N/A __iter__ N/A N/A self N/A N/A N/A self N/A unget N/A N/A self bytes N/A N/A N/A 
        Places bytes back onto the front of the lazy stream.

        Future calls to read() will return those bytes first. The
        stream position and thus tell() will be rewound.
         N/A N/A bytes N/A N/A N/A N/A N/A self _update_unget_history N/A len bytes N/A N/A self position N/A len bytes N/A N/A self _leftover N/A N/A join N/A bytes N/A self _leftover N/A _update_unget_history N/A N/A self num_bytes N/A N/A N/A 
        Updates the unget history as a sanity check to see if we've pushed
        back the same number of bytes in one chunk. If we keep ungetting the
        same number of bytes many times (here, 50), we're mostly likely in an
        infinite loop of some sort. This is usually caused by a
        maliciously-malformed MIME request.
         N/A N/A self _unget_history N/A N/A num_bytes N/A N/A self _unget_history N/A 49 N/A number_equal N/A len N/A current_number N/A current_number N/A self _unget_history N/A current_number num_bytes N/A N/A number_equal 40 N/A N/A N/A SuspiciousMultipartForm The multipart parser got stuck, which shouldn't happen with normal uploaded files. Check for malicious upload activity; if there is none, report this to the Django developers. N/A N/A ChunkIter N/A N/A six Iterator N/A N/A 
    An iterable that will yield chunks of data. Given a file-like object as the
    constructor, this object will yield chunks of read operations from that
    object.
     __init__ N/A N/A self flo chunk_size N/A N/A 64 1024 N/A N/A N/A self flo flo N/A N/A self chunk_size chunk_size N/A __next__ N/A N/A self N/A N/A N/A N/A N/A data N/A N/A N/A self flo read N/A self chunk_size N/A N/A N/A InputStreamExhausted N/A N/A N/A StopIteration N/A data N/A N/A data N/A N/A N/A StopIteration N/A __iter__ N/A N/A self N/A N/A N/A self N/A N/A InterBoundaryIter N/A N/A six Iterator N/A N/A 
    A Producer that will iterate over boundaries.
     __init__ N/A N/A self stream boundary N/A N/A N/A N/A self _stream stream N/A N/A self _boundary boundary N/A __iter__ N/A N/A self N/A N/A N/A self N/A __next__ N/A N/A self N/A N/A N/A N/A N/A N/A LazyStream N/A BoundaryIter N/A self _stream N/A self _boundary N/A N/A N/A InputStreamExhausted N/A N/A N/A StopIteration N/A N/A BoundaryIter N/A N/A six Iterator N/A N/A 
    A Producer that is sensitive to boundaries.

    Will happily yield bytes until a boundary is found. Will yield the bytes
    before the boundary, throw away the boundary bytes themselves, and push the
    post-boundary bytes back on the stream.

    The future calls to next() after locating the boundary will raise a
    StopIteration exception.
     __init__ N/A N/A self stream boundary N/A N/A N/A N/A self _stream stream N/A N/A self _boundary boundary N/A N/A self _done False N/A N/A self _rollback N/A N/A len boundary 6 N/A unused_char N/A N/A N/A self _stream read 1 N/A N/A unused_char N/A N/A N/A InputStreamExhausted N/A N/A N/A N/A self _stream unget unused_char N/A __iter__ N/A N/A self N/A N/A N/A self N/A __next__ N/A N/A self N/A N/A N/A N/A self _done N/A N/A N/A StopIteration N/A stream N/A self _stream N/A rollback N/A self _rollback N/A bytes_read 0 N/A chunks N/A N/A bytes stream N/A N/A bytes_read N/A len bytes N/A N/A N/A chunks append bytes N/A N/A bytes_read rollback N/A N/A N/A N/A bytes N/A N/A N/A N/A N/A self _done True N/A N/A chunks N/A N/A N/A StopIteration N/A chunk N/A N/A join chunks N/A boundary N/A N/A self _find_boundary chunk N/A N/A len chunk N/A self _rollback N/A boundary N/A N/A N/A end next boundary N/A N/A N/A stream unget N/A chunk N/A next N/A N/A self _done True N/A N/A chunk N/A end N/A N/A N/A N/A chunk N/A N/A rollback N/A N/A N/A self _done True N/A chunk N/A N/A N/A N/A stream unget N/A chunk N/A N/A rollback N/A N/A chunk N/A N/A rollback N/A _find_boundary N/A N/A self data eof N/A False N/A N/A 
        Finds a multipart boundary in data.

        Should no boundry exist in the data None is returned instead. Otherwise
        a tuple containing the indices of the following are returned:

         * the end of current encapsulation
         * the start of the next encapsulation
         N/A index N/A N/A data find N/A self _boundary N/A N/A index 0 N/A N/A None N/A N/A end index N/A next N/A index N/A len N/A self _boundary N/A last N/A max 0 N/A end 1 N/A N/A N/A data N/A last N/A last 1 N/A N/A end 1 N/A last N/A max 0 N/A end 1 N/A N/A N/A data N/A last N/A last 1 N/A N/A end 1 N/A N/A end next N/A N/A exhaust N/A N/A stream_or_iterable N/A N/A N/A 
    Completely exhausts an iterator or stream.

    Raise a MultiPartParserError if the argument is not a stream or an iterable.
     N/A iterator None N/A N/A N/A iterator N/A iter stream_or_iterable N/A N/A N/A TypeError N/A N/A iterator N/A ChunkIter stream_or_iterable 16384 N/A N/A iterator None N/A N/A N/A MultiPartParserError multipartparser.exhaust() was passed a non-iterable or stream parameter N/A __ iterator N/A N/A N/A parse_boundary_stream N/A N/A stream max_header_size N/A N/A N/A 
    Parses one and exactly one stream that encapsulates a boundary.
     N/A chunk N/A N/A stream read max_header_size N/A header_end N/A N/A chunk find _parse_header N/A N/A line N/A N/A N/A N/A main_value_pair params N/A parse_header line N/A N/A N/A N/A name value N/A N/A main_value_pair split : 1 N/A N/A N/A N/A N/A ValueError N/A Invalid header: %r line N/A N/A name N/A value params N/A N/A N/A header_end -1 N/A N/A N/A N/A stream unget chunk N/A N/A RAW N/A stream N/A header N/A chunk N/A header_end N/A N/A N/A stream unget N/A chunk N/A N/A header_end 4 N/A TYPE RAW N/A outdict N/A N/A line N/A N/A header split N/A N/A N/A N/A N/A name N/A value params N/A _parse_header line N/A N/A N/A N/A N/A N/A name content-disposition N/A N/A TYPE FIELD N/A N/A N/A params get filename N/A N/A TYPE FILE N/A N/A outdict N/A name N/A value params N/A N/A TYPE RAW N/A N/A N/A N/A stream unget chunk N/A N/A TYPE outdict stream N/A Parser N/A object N/A __init__ N/A N/A self stream boundary N/A N/A N/A N/A self _stream stream N/A N/A self _separator N/A -- boundary N/A __iter__ N/A N/A self N/A N/A N/A boundarystream N/A InterBoundaryIter N/A self _stream N/A self _separator N/A sub_stream boundarystream N/A N/A N/A N/A parse_boundary_stream sub_stream 1024 N/A N/A parse_header N/A N/A line N/A N/A N/A  Parse the header into a key-value.
        Input (line): bytes, output: unicode for key/name, bytes for value which
        will be decoded later
     N/A plist N/A _parse_header_params N/A ; line N/A key N/A N/A N/A N/A N/A N/A plist pop 0 lower decode ascii N/A pdict N/A N/A p plist N/A N/A i N/A N/A p find = N/A N/A i 0 N/A N/A name N/A N/A N/A N/A N/A N/A N/A p N/A i strip lower decode ascii N/A value N/A N/A N/A p N/A N/A i 1 strip N/A N/A N/A N/A len value 2 N/A N/A value N/A 1 N/A value N/A -1 " N/A N/A value N/A value N/A 1 -1 N/A value N/A N/A N/A N/A value replace \\ \ replace \" " N/A N/A pdict N/A name value N/A N/A key pdict N/A _parse_header_params N/A N/A s N/A N/A N/A plist N/A N/A N/A N/A s N/A 1 ; N/A N/A s N/A s N/A 1 N/A end N/A N/A s find ; N/A N/A N/A end 0 N/A N/A N/A s count " 0 end 2 N/A N/A end N/A N/A s find ; N/A end 1 N/A N/A end 0 N/A N/A end N/A len s N/A f N/A s N/A end N/A N/A N/A plist append N/A N/A f strip N/A s N/A s N/A end N/A plist N/A