alexxed / narro

Automatically exported from code.google.com/p/narro
2 stars 4 forks source link

XPI header content-type "application/x-xpinstall .xpi" #325

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please provide correct headers for XPI (ie AddType application/x-xpinstall 
.xpi) in NarroMozillaBuild.class.php:

This is incorrect: 
header("Content-Type: application/zip");

Original issue reported on code.google.com by hitmana...@gmail.com on 26 Sep 2012 at 5:54

GoogleCodeExporter commented 9 years ago
Perhaps we need to modify the .htaccess as well. 

Docs:

https://developer.mozilla.org/en-US/docs/Extension_Packaging

http://www.codediesel.com/php/sending-xpi-mime-content-from-php/

Original comment by hitmana...@gmail.com on 26 Sep 2012 at 5:57

GoogleCodeExporter commented 9 years ago
Done.

Original comment by alex...@gmail.com on 7 Oct 2012 at 4:31