referer url

pavloutefkros at gmail.com pavloutefkros at gmail.com
Mon Jan 28 17:39:26 CET 2008


Hello all!

I was wondering, if there is a way to retrieve the referer url with
python (web-based).
I tried this:

import os
print os.getenv('HTTP_REFERER')

but it's not working, even thought other http variables do function,
this one is always a None.

Thanks in advance.



More information about the Python-list mailing list