                  #    content_length = int(request.META.get('CONTENT_LENGTH',0))
                  #except (ValueError, TypeError):
                  #    content_length = 0
                  # self._stream = LimitedStream(request, content_length)
                  #
                  # UPDATE: http://code.djangoproject.com/ticket/15785
                  self._stream = request
              else:
                  self._stream = StringIO(request.raw_post_data)
          return self._stream
  
 
</s> remove                 # Parse items that have a qvalue eg text/html;q=0.9
 </s> add                 # Parse items that have a qvalue eg 'text/html; q=0.9' </s> remove     """An HttpResponse that may include content that hasn't yet been serialized."""
 </s> add     """
    An HttpResponse that may include content that hasn't yet been serialized.
    """
 </s> remove             'resource': self.view,
            'request': self.view.request,
 </s> add             'resource': self.view,        # TODO: rename to view
            'request': self.view.request, # TODO: remove </s> remove Also, django.core.handlers.wsgi.STATUS_CODE_TEXT"""
 </s> add Also see django.core.handlers.wsgi.STATUS_CODE_TEXT
"""
                  #    content_length = int(request.META.get('CONTENT_LENGTH',0))
                  #except (ValueError, TypeError):
                  #    content_length = 0
                  # self._stream = LimitedStream(request, content_length)


                  self._stream = request
              else:
                  self._stream = StringIO(request.raw_post_data)
          return self._stream
  
keep keep keep keep replace replace keep keep keep keep keep
 More tests, getting new serialization into resource 
djangorestframework/mixins.py