Set content type for png files
authorEugene Ostroukhov <eugeneo@symbian.org>
Wed, 26 May 2010 17:01:34 -0700
changeset 341 480716493610
parent 340 740921999de7
child 342 f62d2a36bc43
Set content type for png files
org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/WorkspaceResourcesServlet.java
--- a/org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/WorkspaceResourcesServlet.java	Wed May 26 12:34:42 2010 -0700
+++ b/org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/WorkspaceResourcesServlet.java	Wed May 26 17:01:34 2010 -0700
@@ -72,7 +72,7 @@
         EXTENSION_CONTENT_TYPE.put("gif", "image/gif");
         EXTENSION_CONTENT_TYPE.put("jpg", "image/jpeg");
         EXTENSION_CONTENT_TYPE.put("jpeg", "image/jpeg");
-        EXTENSION_CONTENT_TYPE.put("png", "application/octet-stream");
+        EXTENSION_CONTENT_TYPE.put("png", "image/png");
         EXTENSION_CONTENT_TYPE.put("css", "text/css");
         EXTENSION_CONTENT_TYPE.put("js", "application/x-javascript");
         EXTENSION_CONTENT_TYPE.put("mp3", "audio/x-mpeg");