mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
text/plain will make the debugging easier as you won't have to go to the source view.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1567 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
8f3aad2400
commit
4e254c02c7
1 file changed
+1
-1
@@ -89,7 +89,7 @@ public class ChartUtil {
|
||||
ChartRenderingInfo info = new ChartRenderingInfo();
|
||||
chart.createBufferedImage(Integer.parseInt(w),Integer.parseInt(h),info);
|
||||
|
||||
rsp.setContentType("text/html;charset=UTF-8");
|
||||
rsp.setContentType("text/plain;charset=UTF-8");
|
||||
rsp.getWriter().println(ChartUtilities.getImageMap( "map", info ));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user