[Zope] What's the idea behind the insertBase(...) in HTTPResponse ?

Chris Withers chrisw@nipltd.com
Wed, 10 May 2000 10:12:57 +0100


Yeah, don't do it...

It's there for a reason and lots of URL references that Zope creates get
badly screwed if  you comment this out or use the <!-- </head> -->
trick.

Use SiteAccess instead...

Chris

Martin Grönemeyer wrote:
> 
> In some cases the HTTPResponse-Object adds an "<base href=....>" to your
> HTML-Output. For some reasons (virtual hosting with an ip-based caching and
> different domains for the same ip) i would disable this mechanism.
> 
> It's easy to comment the insertBase(...)-Method in the HTTPResponse-Object
> but I've no idea of the side-effects.
> 
> Has anyone some experience with this ?
> 
> Martin
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )