  )
  
  
  _403_FORBIDDEN_RESPONSE = ErrorResponse(
      status.HTTP_403_FORBIDDEN,
      {'detail': 'You do not have permission to access this resource. ' +
                 'You may need to login or otherwise authenticate the request.'})
  
  _503_SERVICE_UNAVAILABLE = ErrorResponse(
      status.HTTP_503_SERVICE_UNAVAILABLE,
      {'detail': 'request was throttled'})
  
 
</s> remove     status.HTTP_503_SERVICE_UNAVAILABLE,
    {'detail': 'request was throttled'})
 </s> add     content={'detail': 'request was throttled'},
    status=status.HTTP_503_SERVICE_UNAVAILABLE) </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_405_METHOD_NOT_ALLOWED,
                            {'detail': 'Method \'%s\' not allowed on this resource.' % request.method})
 </s> add         raise ErrorResponse(content=
                {'detail': 'Method \'%s\' not allowed on this resource.' % request.method},
            status=status.HTTP_405_METHOD_NOT_ALLOWED) </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_400_BAD_REQUEST,
                                {'detail': 'multipart parse error - %s' % unicode(exc)})
 </s> add             raise ErrorResponse(
                content={'detail': 'multipart parse error - %s' % unicode(exc)},
                status=status.HTTP_400_BAD_REQUEST)
    content={'detail': 'You do not have permission to access this resource. ' +
               'You may need to login or otherwise authenticate the request.'},
    status=status.HTTP_403_FORBIDDEN)
  )
  
  
  _403_FORBIDDEN_RESPONSE = ErrorResponse(
    content={'detail': 'You do not have permission to access this resource. ' +
               'You may need to login or otherwise authenticate the request.'},
    status=status.HTTP_403_FORBIDDEN)
    content={'detail': 'You do not have permission to access this resource. ' +
               'You may need to login or otherwise authenticate the request.'},
    status=status.HTTP_403_FORBIDDEN)
    content={'detail': 'You do not have permission to access this resource. ' +
               'You may need to login or otherwise authenticate the request.'},
    status=status.HTTP_403_FORBIDDEN)
  
  _503_SERVICE_UNAVAILABLE = ErrorResponse(
      status.HTTP_503_SERVICE_UNAVAILABLE,
      {'detail': 'request was throttled'})
  
keep keep keep keep replace replace replace keep keep keep keep keep
 Response as a subclass of HttpResponse - first draft, not quite there yet. 
djangorestframework/permissions.py