Hi Petar,

This blog article may help clear up your confusion [1]. It actually explains how IE handles mime types and when it does its own file sniffing.

And this email thread on the Cocoon mailing list contains actual sitemap suggestions you could use [2].

It all boils down to adding the Content-disposition header to the response for the file.

Regards,
David Legg




Petar Becic wrote:
Hi all,

For known MIME types such as Microsoft Word ("application/ms-word"), the default behavior is to open the document in the browser. How can I configure hippo cocoon based website in order to prompt the user to save the file directly to the user's disk, without opening it in the browser.

Thanks in advance.


[1] http://blogs.msdn.com/ie/archive/2005/02/01/364581.aspx
[2] http://marc.info/?l=xml-cocoon-users&m=122338256805470&w=2

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to