[Zope] RESPONSE title

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Tue, 11 Dec 2001 00:49:26 +0300


On Mon, Dec 10, 2001 at 07:05:12PM +0100, Jesper Holmberg wrote:
>   RESPONSE.setHeader('Title', "file1.xml")
>  
> This works well, the content of the returned file is good, but the name of
> the response is "manage_saveaction", not "file1.xml". So I guess there is
> a problem with the third line, but I can't find it. Does anyone know what
> has to be done?

   Content-Disposition instead of Title:

RESPONSE.setHeader('Content-Disposition', "inline; filename=file1.xml")

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