Abort the current request with a 204 (No Content) response code. Clears
    out the body of the response.

    :param instance: Resource instance (used to access the response)
    :type instance: :class:`webob.resource.Resource`
    :raises: :class:`webob.exceptions.ResponseException` of status 204

def raise_204(instance):
    """Abort the current request with a 204 (No Content) response code. Clears
    out the body of the response.

    :param instance: Resource instance (used to access the response)
    :type instance: :class:`webob.resource.Resource`
    :raises: :class:`webob.exceptions.ResponseException` of status 204
    """
    instance.response.status = 204
    instance.response.body = ''
    instance.response.body_raw = None
    raise ResponseException(instance.response)