[Project_owners] forcing different Content-type for downloads
didier at ernotte.com
Thu Dec 30 06:42:20 EST 2004
The A html tag support the "type" attribute (see
type is the content-type of the link, but I don't know if this
attribute is supported in FF.
--- Simon Wunderlin <simon at wunderlin.net> wrote:
> Hi all,
> 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
> dialog ?
> 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
> download dir).
> 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.
More information about the Project_owners