  # -*- coding: utf-8 -*-
  
  from __future__ import unicode_literals
  from rest_framework.compat import StringIO
  from django import forms
  from django.core.files.uploadhandler import MemoryFileUploadHandler
  from django.test import TestCase
  from django.utils import unittest
  from rest_framework.compat import etree
 
</s> remove         """ Make sure the `QueryDict` works OK """
 </s> add         """
        Parse raw file upload.
        """ </s> remove         for i, handler in enumerate(upload_handlers):
            file_obj = handler.file_complete(counters[i])
 </s> add         for index, handler in enumerate(upload_handlers):
            file_obj = handler.file_complete(counters[index]) </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):
  # -*- coding: utf-8 -*-
  
  from __future__ import unicode_literals

  from django import forms
  from django.core.files.uploadhandler import MemoryFileUploadHandler
  from django.test import TestCase
  from django.utils import unittest
  from rest_framework.compat import etree
keep keep keep replace keep keep keep keep keep
 FileUploadParser. Raising StopFutureHandlers removes any handlers not yet run for the active set. Closes #2109. 
tests/test_parsers.py