
On Mon, 29 May 2006 11:24:27 -0700, Bryce Harrington wrote:
But that's probably not the right mime-type...
I think it is the right mime type :)
Mike Hearn, is there a registered mime-type for autopackage files? (If not, there should be!) I notice that the packages on the autopackage.org site sometimes downloads as type "BIN", which makes me think there isn't an associated type yet?
For future reference my email address is mike@...869... now, can you check your address book to ensure it's up to date? I look at the mailing lists occassionally but can easily miss threads like this one if I'm not CCd.
I did submit an IANA registration for the MIME type application/autopackage a long time ago and it apparently went straight to /dev/null. MIME typing is of dubious value anyway as getting web servers correctly configured to handle new filetypes is nearly impossible. Witness the Redhat Package Manager vs RealPlayer Media fiasco :)
Autopackages should *always* download as binaries in Firefox. I added some embedded non-ASCII bytes to the header to trip the Gecko last-chance detection code before 1.0. I do not know why it's failing for that person.
The reason they download as "bin" files is because Gecko is detecting them as "generic binary sent as text/plain" and doesn't know what type they are until downloaded. If you have the support code installed it will match on the .package file extension and pass them to the right handler.
thanks -mike