Module: check_mk
Branch: master
Commit: fbd2aba68d712d8d897de891cb20fd1d7fe8fd24
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fbd2aba68d712d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Apr 13 11:14:26 2016 +0200
Use text/plain for python output_format (application/python is not a good choice for
repr() data)
---
web/htdocs/htmllib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index 7857f87..40aaf60 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -184,7 +184,7 @@ class html(GUITester):
content_type = "text/csv; charset=UTF-8"
elif f == "python":
- content_type = "application/python; charset=UTF-8"
+ content_type = "text/plain; charset=UTF-8"
elif f == "text":
content_type = "text/plain; charset=UTF-8"