[Zope] Help on downloading data to a file

Oleg Broytmann Oleg Broytmann <phd@phd.fep.ru>
Tue, 29 May 2001 17:51:42 +0400 (MSD)


On Tue, 29 May 2001, Tres Seaver wrote:
> > context.REQUEST.RESPONSE.setHeader('Content-Disposition',
> > 			   'inline;filename=Data.dat')
>                              ^^^^^^
> Doesn't an 'inline' disposition tell the browser that you want it to
> try to display the data, rather than save to disk?

   No, it tells "data is right here, after the headers".

Oleg.
----
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.