[X2Go-Commits] [x2gobroker] 01/01: JSON WebUI backend renders data of content type "text/json".
git-admin at x2go.org
git-admin at x2go.org
Tue Mar 4 08:39:13 CET 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gobroker.
commit 916ebf52dc17d1cd690a4485bc4a14c806a6f68c
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Mar 4 08:38:50 2014 +0100
JSON WebUI backend renders data of content type "text/json".
---
debian/changelog | 1 +
x2gobroker/web/json.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 349c880..a91fc06 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -80,6 +80,7 @@ x2gobroker (0.0.3.0-0x2go1) UNRELEASED; urgency=low
- Be more precise in Debian et al. init scripts when checking if the service
is already running.
- Add JSON WebUI backend for X2Go Session Broker.
+ - JSON WebUI backend renders data of content type "text/json".
- Provide configuration alternative to having /etc/defaults/* scripts parsed
in by init scripts. Make X2Go Session Broker ready for being run via
systemd.
diff --git a/x2gobroker/web/json.py b/x2gobroker/web/json.py
index 6eee1af..b217050 100644
--- a/x2gobroker/web/json.py
+++ b/x2gobroker/web/json.py
@@ -44,7 +44,7 @@ class _RequestHandler(tornado.web.RequestHandler):
class X2GoBrokerWeb(_RequestHandler):
http_header_items = {
- 'Content-Type': 'text/plain; charset=utf-8',
+ 'Content-Type': 'text/json; charset=utf-8',
'Expires': '+1h',
}
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
More information about the x2go-commits
mailing list