AIR Mime type
I've been having some problems with some browsers downloading my .air apps as .zip files, even replacing the file extension. I figured it was a Mime type problem, and sure-enough...
This is from the AIR release notes:
Setting the mime type in your Web Server for AIR applications
In order for client browsers to recognize an AIR application when being downloaded, the Web Server hosting the AIR applications needs to map the following MIME Content Type “application/vnd.adobe.air-application-installer-package+zip” to the Apollo extension “.air”. For example, for an Apache Web Server you will add to the AddType section: AddType application/vnd.adobe.air-application-installer-package+zip .air
AddType application/vnd.adobe.air-application-installer-package+zip .air
I had some weird problems with the badge-installer not working on a couple OSX machines, I wonder if this will fix it.
Labels: AIR
3 Comments:
Don't use application/zip, use the one above in the post.
By
renaun, At
12/28/2007 10:28 PM
Thanks - I added to my .htaccess file and it works now!
By
Anonymous, At
2/15/2008 4:32 PM
Adding AIR MIME type is highly recommended for everyone who cares about correct downloading of the AIR applications by site visitors.
I had the troubles with it, and when added AIR MIME type via .htaccess file, problem was solved.
So, to make site with AIR distributive reliable, it is necessary to handle AIR extenstion in proper way.
By
Anonymous, At
2/18/2008 3:51 PM
Post a Comment
Subscribe to Post Comments [Atom]
<< Home