          """
          try:
              return (json.load(stream), None)
          except ValueError, exc:
              raise ErrorResponse(
                  content={'detail': 'JSON parse error - %s' % unicode(exc)},
                  status=status.HTTP_400_BAD_REQUEST)
  
  
  if yaml:
 
</s> remove                 raise ErrorResponse(
 </s> add                 raise ImmediateResponse( </s> remove             raise ErrorResponse(
 </s> add             raise ImmediateResponse( </s> remove             raise ErrorResponse(
 </s> add             raise ImmediateResponse( </s> remove             raise ErrorResponse(
 </s> add             raise ImmediateResponse( </s> remove         raise ErrorResponse(content=
 </s> add         raise ImmediateResponse(content=
            raise ImmediateResponse(
          """
          try:
              return (json.load(stream), None)
          except ValueError, exc:
            raise ImmediateResponse(
                  content={'detail': 'JSON parse error - %s' % unicode(exc)},
                  status=status.HTTP_400_BAD_REQUEST)
  
  
  if yaml:
keep keep keep keep replace keep keep keep keep keep
 cleaned a bit Response/ResponseMixin code, added some documentation + renamed ErrorResponse to ImmediateResponse 
djangorestframework/parsers.py