Changing over to 2.0a2 (from 2.0a1, that was the environment of the
problem described below), plus running with the application using
simple_server.py, I see that there is no longer a HTTP_REFERER request
header. Isn't this set by the client? Where is it being dropped?
mario
On Nov 11, 2004, at 4:05 PM, Oleg Broytmann wrote:
> On Thu, Nov 11, 2004 at 04:02:14PM +0100, Mario Ruggier wrote:
>> def _q_lookup(self, request, component):
>> # ... do something with component ...
>> print component, request.get_url(),
>> request.get_header('HTTP_REFERER')
>> request.redirect(request.get_header('HTTP_REFERER') or
>> '/path/'
>
> from quixote.util import Redirector
> ....
> def _q_lookup(self, request, component):
> ....
> return Redirector("/new/location")
>
> Oleg.