[Zope] Unexpected 302 in HTTP Header

Roché Compaan roche@upfrontsystems.co.za
Thu, 25 Jul 2002 14:17:41 +0200


I'll just go back to my hole now - I found the redirect ...
hidden in my own code :-0

Still don't know why "redirect" in HTTPResponse.py isn't
called.

> > > 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.