[Zope] downloading files to the client
Anthony Baxter
Anthony Baxter <anthony@interlink.com.au>
Tue, 16 Nov 1999 23:21:25 +1100
>>> Robin Becker wrote
> In the absence of a browser independent way to copy tables to the
> clipboard I will create an external method for dumping the information
> directly to the browser as a 'file'.
>
> How should I guarantee that the user gets a file save as dialog?
Set the content-type to something that the user's browser recognises
as 'something to download'. Try 'application/octet-stream'.
Anthony