[Zope] downloading files to the client

Oleg Broytmann phd@phd.russ.ru
Tue, 16 Nov 1999 12:05:37 +0000 (GMT)


On Tue, 16 Nov 1999, Robin Becker wrote:
> How should I guarantee that the user gets a file save as dialog? 

   I am afraid there is at least on buggy browser that try to determine
content type, and if it thinks the data is text or html - just shows it. It
is M$IE.

   Try to set headers:

Content-Type: application/octet-stream
Content-Disposition: inline; filename='thefile_inbrowser.dat'

Oleg.
---- 
    Oleg Broytmann      Foundation for Effective Policies      phd@phd.russ.ru
           Programmers don't die, they just GOSUB without RETURN.