You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Fabian Ritzmann <Fa...@Sun.COM> on 2007/10/31 14:13:22 UTC

default mime type mapping for WS-Policy

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