Adobe AIR MIME type for Apache Tomcat 6
Win7/IE8 will mischievously rename the file .zip if the MIME type is not set server side
Is your Windows 7/ Internet Explorer 8 browser magically renaming .air files (Adobe AIR applications) as zip files when downloading them from an Apache Tomcat server? Well, have not fear! Stu is here!
You just need to edit conf/web.xml file and add the following MIME type code snippet:
<mime-mapping>
<extension>air</extension>
<mime-type>application/vnd.adobe.air-application-installer-package+zip</mime-type>
</mime-mapping>
Now, just restart your Tomcat instance and the .air files will download as expected.
