          upload_handlers = self.view._get_upload_handlers()
          try:
              django_parser = DjangoMultiPartParser(self.view.META, stream, upload_handlers)
          except MultiPartParserError, exc:
              raise ErrorResponse(status.HTTP_400_BAD_REQUEST,
                                  {'detail': 'multipart parse error - %s' % unicode(exc)})
          return django_parser.parse()
  
  
  class XMLParser(BaseParser):
      """
 
</s> remove                 raise ErrorResponse(status.HTTP_400_BAD_REQUEST,
                                    {'detail': 'YAML parse error - %s' % unicode(exc)})
 </s> add                 raise ErrorResponse(
                    content={'detail': 'YAML parse error - %s' % unicode(exc)},
                    status=status.HTTP_400_BAD_REQUEST) </s> remove             raise ErrorResponse(status.HTTP_400_BAD_REQUEST,
                                {'detail': 'JSON parse error - %s' % unicode(exc)})
 </s> add             raise ErrorResponse(
                content={'detail': 'JSON parse error - %s' % unicode(exc)},
                status=status.HTTP_400_BAD_REQUEST) </s> remove             raise ErrorResponse(status.HTTP_404_NOT_FOUND)
 </s> add             raise ErrorResponse(status=status.HTTP_404_NOT_FOUND) </s> remove             raise ErrorResponse(status.HTTP_404_NOT_FOUND,
                                {'detail': 'That page contains no results'})
 </s> add             raise ErrorResponse(
                content={'detail': 'That page contains no results'},
                status=status.HTTP_404_NOT_FOUND) </s> remove             raise ErrorResponse(status.HTTP_404_NOT_FOUND, None, {})
 </s> add             raise ErrorResponse(status=status.HTTP_404_NOT_FOUND)
            raise ErrorResponse(
                content={'detail': 'multipart parse error - %s' % unicode(exc)},
                status=status.HTTP_400_BAD_REQUEST)
          upload_handlers = self.view._get_upload_handlers()
          try:
              django_parser = DjangoMultiPartParser(self.view.META, stream, upload_handlers)
          except MultiPartParserError, exc:
            raise ErrorResponse(
                content={'detail': 'multipart parse error - %s' % unicode(exc)},
                status=status.HTTP_400_BAD_REQUEST)
            raise ErrorResponse(
                content={'detail': 'multipart parse error - %s' % unicode(exc)},
                status=status.HTTP_400_BAD_REQUEST)
          return django_parser.parse()
  
  
  class XMLParser(BaseParser):
      """
keep keep keep keep replace replace keep keep keep keep keep
 Response as a subclass of HttpResponse - first draft, not quite there yet. 
djangorestframework/parsers.py