UploadedFile.content_type The content-type header uploaded with the file (e.g. text/plain or
FileUploadHandler.chunk_size Size, in bytes, of the “chunks” Django should store into memory and feed into the handler. That
UploadedFile.name The name of the uploaded file (e.g. my_file.txt).
class UploadedFile [source] During file uploads, the actual file data is stored in
UploadedFile.read() Read the entire uploaded data from the file. Be careful with this method: if the uploaded file is huge it
FileUploadHandler.receive_data_chunk(raw_data, start) [source] Receives a “chunk” of data
class MemoryFileUploadHandler [source] File upload handler to stream uploads into memory
TemporaryUploadedFile.temporary_file_path() [source] Returns the full path to the temporary
FileUploadHandler.handle_raw_input(input_data, META, content_length, boundary, encoding) [source] Allows
class FileUploadHandler [source] All file upload handlers should be subclasses of django
Page 2 of 3