> Sent: 12 June 2001 16:16
> To: Blandford, Simon [BSS Audio UK]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Zope-dev] How to return downloadable content from Python
> Method
>
>
> > "Blandford, Simon [BSS Audio UK]" wrote:
> >
> > I am compressing fi
Hi Gregor,
> First off, please don't send HTML mail to the list.
Ouch! Sorry! Easy mistake to make.
>
> You will have to set the Content-Type HTTP header to do that:
> REQUEST.RESPONSE.setHeader('Content-Type', content_type)
> where content_type is the right MIME type of the file you return, e
I am compressing
files which need to be uncompressed inline before download. The DTML
" calles a python method in the product which returns the
uncompressed file data. Say this file is an MSWord document, how do I return
this as a file to download? Presently, the browser just tries to displa