File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2929from six .moves import range as xrange
3030from werkzeug .datastructures import WWWAuthenticate , MultiDict
3131from werkzeug .http import http_date
32- from werkzeug .wrappers import BaseResponse
32+ from werkzeug .wrappers import Response as WzResponse
3333from werkzeug .http import parse_authorization_header
3434from flasgger import Swagger , NO_SANITIZER
3535
@@ -77,7 +77,7 @@ def jsonify(*args, **kwargs):
7777
7878
7979# Prevent WSGI from correcting the casing of the Location header
80- BaseResponse .autocorrect_location_header = False
80+ WzResponse .autocorrect_location_header = False
8181
8282# Find the correct template folder when running from a different location
8383tmpl_dir = os .path .join (os .path .dirname (os .path .abspath (__file__ )), "templates" )
You can’t perform that action at this time.
0 commit comments