        and available as :meth:`.DATA<Request.DATA>`
      - full support of PUT method, including support for file uploads
      - form overloading of HTTP method, content type and content
  """
  from StringIO import StringIO
  
  from django.http.multipartparser import parse_header
  from rest_framework import exceptions
  from rest_framework.settings import api_settings
  
 
</s> remove from StringIO import StringIO
 </s> add from rest_framework.compat import StringIO </s> remove from django.utils.encoding import smart_unicode, DjangoUnicodeDecodeError
 </s> add from django.utils.encoding import DjangoUnicodeDecodeError
try:
    from django.utils.encoding import smart_text
except ImportError:
    from django.utils.encoding import smart_unicode as smart_text </s> remove import StringIO
 </s> add from rest_framework.compat import StringIO
 </s> remove from StringIO import StringIO
 </s> add from rest_framework.compat import StringIO
from rest_framework.compat import StringIO
        and available as :meth:`.DATA<Request.DATA>`
      - full support of PUT method, including support for file uploads
      - form overloading of HTTP method, content type and content
  """
from rest_framework.compat import StringIO
  
  from django.http.multipartparser import parse_header
  from rest_framework import exceptions
  from rest_framework.settings import api_settings
  
keep keep keep keep replace keep keep keep keep keep
 First passing test under p3k \o/ 
rest_framework/request.py