class MemoryFileUploadHandler(FileUploadHandler):
Method | file_complete |
Return a file object if this handler is activated. |
Method | handle_raw_input |
Use the content_length to signal whether or not this handler should be used. |
Method | new_file |
Signal that a new file has been started. |
Method | receive_data_chunk |
Add the data to the BytesIO file. |
Instance Variable | activated |
Undocumented |
Instance Variable | file |
Undocumented |
Inherited from FileUploadHandler
:
Method | upload_complete |
Signal that the upload is complete. Subclasses should perform cleanup that is necessary for this handler. |
Method | upload_interrupted |
Signal that the upload was interrupted. Subclasses should perform cleanup that is necessary for this handler. |
Class Variable | chunk_size |
Undocumented |
Method | __init__ |
Undocumented |
Instance Variable | charset |
Undocumented |
Instance Variable | content_length |
Undocumented |
Instance Variable | content_type |
Undocumented |
Instance Variable | content_type_extra |
Undocumented |
Instance Variable | field_name |
Undocumented |
Instance Variable | file_name |
Undocumented |
Instance Variable | request |
Undocumented |
Signal that a new file has been started.
Warning: As with any data from the client, you should not trust content_length (and sometimes won't even get it).