diff --git a/util/http.py b/util/http.py index bb43bd7f8..764a8e01d 100644 --- a/util/http.py +++ b/util/http.py @@ -28,5 +28,5 @@ def abort(status_code, message=None, **kwargs): logger.error('Error %s: %s. Arguments: %s' % (status_code, message, request.view_args)) # Report the abort to the user. - flask_abort(make_response(HTTPException(message), status_code, headers)) + flask_abort(make_response(HTTPException(message), status_code, {}))