[Project_owners] forcing different Content-type for downloads
simon at wunderlin.net
Thu Dec 30 16:06:18 EST 2004
Didier Ernotte schrieb:
> The A html tag support the "type" attribute (see
> http://www.w3.org/TR/REC-html40/struct/links.html#adef-type-A). This
> type is the content-type of the link, but I don't know if this
> attribute is supported in FF.
ok thanx for the hint. i tried that and the server's response header
"Content-Type: application/x-xpinstall" seem to take predence.
> --- Simon Wunderlin <simon at wunderlin.net> wrote:
>>i am preparing an extension for N|Vu. it is most likely that users
>>download the xpi with moz/FF and get prompted for install when they
>>click the link (the extesion won't work in the browser).
>>is it possible to force another Content-type for downloads with an
>>extension (for example application/octetstream or
>>so that the user will get a "save as ..." dialog rather than an
>>Thanks in advance and regards,
>>PS: i know how to change the Content-type for files in the www dir,
>>is not what i am looking for (would like to do this for files in the
>>PPS: no i don't like fries ... i'd just want a coke with it if that's
>>Project_owners mailing list
>>Project_owners at mozdev.org
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> Project_owners mailing list
> Project_owners at mozdev.org
More information about the Project_owners