App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | List of all members
google.appengine._internal.django.core.files.uploadhandler.MemoryFileUploadHandler Class Reference
Inheritance diagram for google.appengine._internal.django.core.files.uploadhandler.MemoryFileUploadHandler:
google.appengine._internal.django.core.files.uploadhandler.FileUploadHandler

Public Member Functions

def handle_raw_input
 
def new_file
 
def receive_data_chunk
 
def file_complete
 
- Public Member Functions inherited from google.appengine._internal.django.core.files.uploadhandler.FileUploadHandler
def __init__
 
def handle_raw_input
 
def new_file
 
def receive_data_chunk
 
def file_complete
 
def upload_complete
 

Public Attributes

 activated
 
 file
 
- Public Attributes inherited from google.appengine._internal.django.core.files.uploadhandler.FileUploadHandler
 file_name
 
 content_type
 
 content_length
 
 charset
 
 request
 
 field_name
 

Additional Inherited Members

- Static Public Attributes inherited from google.appengine._internal.django.core.files.uploadhandler.FileUploadHandler
int chunk_size = 64
 

Detailed Description

File upload handler to stream uploads into memory (used for small files).

Member Function Documentation

def google.appengine._internal.django.core.files.uploadhandler.MemoryFileUploadHandler.file_complete (   self,
  file_size 
)
Return a file object if we're activated.
def google.appengine._internal.django.core.files.uploadhandler.MemoryFileUploadHandler.handle_raw_input (   self,
  input_data,
  META,
  content_length,
  boundary,
  encoding = None 
)
Use the content_length to signal whether or not this handler should be in use.
def google.appengine._internal.django.core.files.uploadhandler.MemoryFileUploadHandler.receive_data_chunk (   self,
  raw_data,
  start 
)
Add the data to the StringIO file.

The documentation for this class was generated from the following file: