def noop_handler(request):
    """Catch all handler, checks if the request has a context, if it
      does, return a 204 else 404.
    """
    response = request.response
    if request.context:
        response.status_int = 204
        response.body = ''
        del response.content_type
    else:
        response.status_int = 404
    return response
