From 229eeec1be396cc945c0916e2d98767905b07c40 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 24 Jan 2014 15:12:11 -0500 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20have=20a=20headers=20var=20anym?= =?UTF-8?q?ore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, {}))