[web/views] bugfix: the mime type is text/plain, not text/txt (closes #2526345) stable
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Wed, 28 Nov 2012 11:44:15 +0100
branchstable
changeset 8604 7bacc4f21edc
parent 8603 544ce5dd863c
child 8605 797fc2e2fb78
[web/views] bugfix: the mime type is text/plain, not text/txt (closes #2526345)
web/views/management.py
--- a/web/views/management.py	Tue Nov 27 17:16:23 2012 +0100
+++ b/web/views/management.py	Wed Nov 28 11:44:15 2012 +0100
@@ -171,7 +171,7 @@
     """A textual stats output for monitoring tools such as munin """
 
     __regid__ = 'processinfo'
-    content_type = 'text/txt'
+    content_type = 'text/plain'
     templatable = False
     __select__ = none_rset() & match_user_groups('users', 'managers')