Ticket #8643: mp.patch

File mp.patch, 906 bytes (added by KayEss, 7 years ago)

Comments patch

  • multipartparser.py

     
    3434
    3535    ``MultiValueDict.parse()`` reads the input stream in ``chunk_size`` chunks
    3636    and returns a tuple of ``(MultiValueDict(POST), MultiValueDict(FILES))``. If
    37     ``file_upload_dir`` is defined files will be streamed to temporary files in
    38     that directory.
    3937    """
    4038    def __init__(self, META, input_data, upload_handlers, encoding=None):
    4139        """
     
    4442        :META:
    4543            The standard ``META`` dictionary in Django request objects.
    4644        :input_data:
    47             The raw post data, as a bytestring.
     45            The raw post data, as a filestream.
    4846        :upload_handler:
    4947            An UploadHandler instance that performs operations on the uploaded
    5048            data.
Back to Top