                  counters[i] += chunk_length
                  if chunk is None:
                      break
  
          for i, handler in enumerate(upload_handlers):
              file_obj = handler.file_complete(counters[i])
              if file_obj:
                  return DataAndFiles(None, {'file': file_obj})
          raise ParseError("FileUpload parse error - "
                           "none of upload handlers can handle the stream")
  
 
</s> remove                 chunk = handler.receive_data_chunk(chunk, counters[i])
                counters[i] += chunk_length
 </s> add                 chunk = handler.receive_data_chunk(chunk, counters[index])
                counters[index] += chunk_length </s> remove             for i, handler in enumerate(upload_handlers):
 </s> add             for index, handler in enumerate(upload_handlers): </s> remove         for handler in upload_handlers:
 </s> add         for index, handler in enumerate(upload_handlers): </s> remove         """ Make sure the `QueryDict` works OK """
 </s> add         """
        Parse raw file upload.
        """
        for index, handler in enumerate(upload_handlers):
            file_obj = handler.file_complete(counters[index])
                  counters[i] += chunk_length
                  if chunk is None:
                      break
  
        for index, handler in enumerate(upload_handlers):
            file_obj = handler.file_complete(counters[index])
        for index, handler in enumerate(upload_handlers):
            file_obj = handler.file_complete(counters[index])
              if file_obj:
                  return DataAndFiles(None, {'file': file_obj})
          raise ParseError("FileUpload parse error - "
                           "none of upload handlers can handle the stream")
  
keep keep keep keep replace replace keep keep keep keep keep
 FileUploadParser. Raising StopFutureHandlers removes any handlers not yet run for the active set. Closes #2109. 
rest_framework/parsers.py