--- a/web/eulalie/__init__.py Thu Jun 10 19:19:41 2010 +0200
+++ b/web/eulalie/__init__.py Thu Jun 10 19:58:34 2010 +0200
@@ -1,4 +1,4 @@
-VERSION = (0,3)
+VERSION = (0,4)
VERSION_STR = unicode(".".join(map(lambda i:"%02d" % (i,), VERSION)))
--- a/web/ldt/ldt_utils/views.py Thu Jun 10 19:19:41 2010 +0200
+++ b/web/ldt/ldt_utils/views.py Thu Jun 10 19:58:34 2010 +0200
@@ -203,9 +203,9 @@
def project_json(request, project):
- mimetype = request.REQUEST.get("mimetype")
+ mimetype = request.REQUEST.get("mimetype").encode("utf-8")
if mimetype is None:
- mimetype = u"application/json; charset=utf-8"
+ mimetype = "application/json; charset=utf-8"
resp = HttpResponse(mimetype=mimetype)
resp['Cache-Control']='no-cache, must-revalidate'