Ticket #8643: mp.patch
File mp.patch, 906 bytes (added by , 16 years ago) |
---|
-
multipartparser.py
34 34 35 35 ``MultiValueDict.parse()`` reads the input stream in ``chunk_size`` chunks 36 36 and returns a tuple of ``(MultiValueDict(POST), MultiValueDict(FILES))``. If 37 ``file_upload_dir`` is defined files will be streamed to temporary files in38 that directory.39 37 """ 40 38 def __init__(self, META, input_data, upload_handlers, encoding=None): 41 39 """ … … 44 42 :META: 45 43 The standard ``META`` dictionary in Django request objects. 46 44 :input_data: 47 The raw post data, as a bytestring.45 The raw post data, as a filestream. 48 46 :upload_handler: 49 47 An UploadHandler instance that performs operations on the uploaded 50 48 data.