We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9a9c12 commit 19df688Copy full SHA for 19df688
1 file changed
web/regression/python_test_utils/csrf_test_client.py
@@ -95,7 +95,7 @@ def generate_csrf_token(self, *args, **kwargs):
95
# and make a test request context that has those cookies in it.
96
environ_overrides = {
97
'wsgi.url_scheme': 'http',
98
- 'HTTP_HOST': current_app.config["SERVER_NAME"] or "localhost"
+ 'HTTP_HOST': current_app.config["SERVER_NAME"] or "localhost"
99
}
100
self._add_cookies_to_wsgi(environ_overrides)
101
0 commit comments