Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53011

Re: Getting request's source site

From random832@fastmail.us
References <6dc9b8f6-7eb7-42a3-b3ea-ccc3aef072ee@googlegroups.com> <521b656d$0$29986$c3e8da3$5496439d@news.astraweb.com> <03e29dbb-d95d-495e-8937-2b630897d36b@googlegroups.com>
Subject Re: Getting request's source site
Date 2013-08-26 13:51 -0400
Newsgroups comp.lang.python
Message-ID <mailman.244.1377539494.19984.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Getting request's source site Guy Tamir <guytamir1@gmail.com> - 2013-08-26 06:10 -0700
  Re: Getting request's source site Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-26 14:25 +0000
    Re: Getting request's source site Guy Tamir <guytamir1@gmail.com> - 2013-08-26 08:03 -0700
      Re: Getting request's source site Joel Goldstick <joel.goldstick@gmail.com> - 2013-08-26 11:16 -0400
      Re: Getting request's source site random832@fastmail.us - 2013-08-26 13:51 -0400
      Re: Getting request's source site Steven D'Aprano <steve@pearwood.info> - 2013-08-27 09:23 +0000
        Re: Getting request's source site Chris Angelico <rosuav@gmail.com> - 2013-08-27 19:36 +1000

csiph-web