[mod_python] Referrer value?

Adrian Holovaty modpython at holovaty.com
Sat Mar 13 17:28:38 EST 2004

Colin Fox wrote:
> Where can I get the value of the referrer? I don't see a referrer field
> in any of the request, server or connection objects.
> Or is it by another name, or part of another field?

It's kinda hidden. Look in req.headers_in, which allows you to access client 
headers using dictionary syntax.


More information about the Mod_python mailing list