tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabian Ritzmann <Fabian.Ritzm...@Sun.COM>
Subject default mime type mapping for WS-Policy
Date Wed, 31 Oct 2007 13:13:22 GMT
Hi,

Would be nice to have the WS-Policy media type supported by default. 
Here are the details:
http://www.w3.org/TR/2007/CR-ws-policy-20070605/#media-type
http://www.iana.org/assignments/media-types/application/

And here is a patch against the current conf/web.xml:

@@ -1058,6 +1058,10 @@
         <mime-type>application/voicexml+xml</mime-type>
     </mime-mapping>
     <mime-mapping>
+        <extension>wspolicy</extension>
+        <mime-type>application/wspolicy+xml</mime-type>
+    </mime-mapping>
+    <mime-mapping>
         <extension>xbm</extension>
         <mime-type>image/x-xbitmap</mime-type>
     </mime-mapping>


Fabian


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message