[Zope] modify 'Server' response header

2007-05-03 Thread Jens-Erik Hansen
Hi,

is there a way to control the 'Server' response header in ZServer like it 
could be done with the ServerTokens directive in apache?

In an apache - squid - zope configuration I tried apache's mod_headers but 
this only works if the page is cached in the browser (304 Not Modified), a 
browser-reload for example reveals ZServer.

Does anyone know how to accomplish this without modifying any zope code?
 
Thanks
Jens
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] modify 'Server' response header

2007-05-03 Thread Andreas Jung



--On 3. Mai 2007 15:17:44 +0200 Jens-Erik Hansen [EMAIL PROTECTED] wrote:


Hi,

is there a way to control the 'Server' response header in ZServer like it
could be done with the ServerTokens directive in apache?




REQUEST.RESPONSE.setHeader(header, value).

-aj

pgpGiR72q1Uh7.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )