Getting request's source site

random832 at fastmail.us random832 at fastmail.us
Mon Aug 26 13:51:32 EDT 2013


On Mon, Aug 26, 2013, at 11:03, Guy Tamir wrote:
> Thanks for reply,
> In what cases will i have this header?

In practice, you'll usually have it, except in cases where the user has
bookmarked your site, typed/pasted the URL directly, had it opened by an
external program, or taken action to block referers from being sent
(this last one is uncommon)

> is there something i can do to
> enforce having it?

You can refuse to serve the content if it's not present. But this will
annoy users since they can't bookmark it or open it from an external
program.



More information about the Python-list mailing list