  
  They give us a generic way of being able to handle various media types
  on the request, such as form content or json encoded data.
  """
  from __future__ import unicode_literals
  
  import codecs
  
  from django.conf import settings
  from django.core.files.uploadhandler import StopFutureHandlers
  from django.http import QueryDict
 
</s> remove from __future__ import unicode_literals

 </s> add  </s> remove from __future__ import unicode_literals

 </s> add  </s> remove from __future__ import unicode_literals

 </s> add  </s> remove from django.utils import six
 </s> add 
  
  They give us a generic way of being able to handle various media types
  on the request, such as form content or json encoded data.
  """


  import codecs
  
  from django.conf import settings
  from django.core.files.uploadhandler import StopFutureHandlers
  from django.http import QueryDict
keep keep keep keep replace replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
rest_framework/parsers.py