                                                content_length,
                                                None,
                                                encoding)
              if result is not None:
                  return DataAndFiles(result[0], {'file': result[1]})
  
          possible_sizes = [x.chunk_size for x in request.upload_handlers if x.chunk_size]
          chunk_size = min([2**31-4] + possible_sizes)
          chunks = ChunkIter(stream, chunk_size)
          counters = [0] * len(request.upload_handlers)
 
</s> remove         possible_sizes = [x.chunk_size for x in request.upload_handlers if x.chunk_size]
 </s> add         possible_sizes = [x.chunk_size for x in upload_handlers if x.chunk_size] </s> remove         counters = [0] * len(request.upload_handlers)
 </s> add         counters = [0] * len(upload_handlers) </s> remove         for handler in request.upload_handlers:
 </s> add         for handler in upload_handlers: </s> remove         for i, handler in enumerate(request.upload_handlers):
 </s> add         for i, handler in enumerate(upload_handlers): </s> remove         for handler in request.upload_handlers:
 </s> add         for handler in upload_handlers:
                return DataAndFiles(None, {'file': result[1]})
                                                content_length,
                                                None,
                                                encoding)
              if result is not None:
                return DataAndFiles(None, {'file': result[1]})
  
          possible_sizes = [x.chunk_size for x in request.upload_handlers if x.chunk_size]
          chunk_size = min([2**31-4] + possible_sizes)
          chunks = ChunkIter(stream, chunk_size)
          counters = [0] * len(request.upload_handlers)
keep keep keep keep replace keep keep keep keep keep
 Codebase improvements on FileUploadParser

* Added docstrings.
* Added `FileUploadParser.get_filename` to make it easier to override.
* Added url kwargs filename detection step.
* Updated tests corresponding to these changes. 
rest_framework/parsers.py