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:
kohsuke committed 2006-12-30 22:16:31 +00:00
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 ));
}