1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Do not set charset in flask responce
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2024-01-22
Index: keystone/keystone/api/auth.py
===================================================================
--- keystone.orig/keystone/api/auth.py
+++ keystone/keystone/api/auth.py
@@ -111,7 +111,6 @@ class _AuthFederationWebSSOBase(ks_flask
subs = {'host': host, 'token': token_id}
body = src.substitute(subs)
resp = flask.make_response(body, http.client.OK)
- resp.charset = 'utf-8'
resp.headers['Content-Type'] = 'text/html'
return resp
|