[Zope] auto download link

John Ziniti jziniti at speakeasy.net
Tue Feb 17 14:31:04 EST 2004


>> application/save
> 
> This is just because application/save is usually not linked to any
> application.

I usually use a modified Content-dispostion header to make the browser
save the file, and it works in all browsers I have tested (not many).

Just specify "attachment", like this:

Content-type: text/plain
Content-disposition: filename.txt; attachment

JZ




More information about the Zope mailing list