[Zope] Unexpected 302 in HTTP Header

Roché Compaan roche@upfrontsystems.co.za
Thu, 25 Jul 2002 13:42:22 +0200


> Roché Compaan wrote:
> > 
> > I am confident that there is no "redirect" in my code.
> > 
> > Is there a place in ZPublisher's HTTPResponse.py where
> > I can add some logging code as a way to track this down?
> 
> Hmmm... have a hunt for the redirect method of the HTTPResponse 
> class in that file. Add
> somethign which prints out the stack trace (--> python's 
> traceback module) and see where
> it's being called...

The odd thing is "redirect" in HTTPResponse.py is not being
called.  I'm checking setStatus calls at the moment and ...
I'm really really baffled.

-- 
Roché Compaan
Upfront Systems			http://www.upfrontsystems.co.za