You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2018/09/17 07:50:00 UTC
[kibble] 02/08: json needs to be marked as unicode
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
commit 7a4bb34b538065e80f5b9e5459b93b0d43069aae
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Sep 17 09:48:27 2018 +0200
json needs to be marked as unicode
---
api/plugins/session.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/api/plugins/session.py b/api/plugins/session.py
index 08caa98..6476135 100644
--- a/api/plugins/session.py
+++ b/api/plugins/session.py
@@ -97,7 +97,7 @@ class KibbleSession(object):
self.config = config
self.user = None
self.DB = DB
- self.headers = [('Content-Type', 'application/json')]
+ self.headers = [('Content-Type', 'application/json; charset=utf-8')]
self.cookie = None
# Construct the URL we're visiting