Re: Getting request's source site

2013-08-27 Thread Chris Angelico
On Tue, Aug 27, 2013 at 7:23 PM, Steven D'Aprano wrote: > Need a hand disposing of a body? Yeah, there are > legitimate reasons for this, I'll help if I can. Forcing visitors to your > website to set the Referer header? Nope, no way. Friends help friends move bodies. But even they don't help move

Re: Getting request's source site

2013-08-27 Thread Steven D'Aprano
On Mon, 26 Aug 2013 08:03:33 -0700, Guy Tamir wrote: [asking about Referer header] > In what cases will i have this header? is there something i can do to > enforce having it? Are there any other ways? The Referer header is in the HTTP Request that is made to your server. What server are you usi

Re: Getting request's source site

2013-08-26 Thread random832
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

Re: Getting request's source site

2013-08-26 Thread Joel Goldstick
On Mon, Aug 26, 2013 at 11:03 AM, Guy Tamir wrote: > On Monday, August 26, 2013 5:25:49 PM UTC+3, Steven D'Aprano wrote: >> On Mon, 26 Aug 2013 06:10:41 -0700, Guy Tamir wrote: >> >> >> >> > Hi all, >> >> > >> >> > I was wondering how i can get the source from which the request came >> >> > from.

Re: Getting request's source site

2013-08-26 Thread Guy Tamir
On Monday, August 26, 2013 5:25:49 PM UTC+3, Steven D'Aprano wrote: > On Mon, 26 Aug 2013 06:10:41 -0700, Guy Tamir wrote: > > > > > Hi all, > > > > > > I was wondering how i can get the source from which the request came > > > from. If a user posted a link that directs to my server on faceb

Re: Getting request's source site

2013-08-26 Thread Steven D'Aprano
On Mon, 26 Aug 2013 06:10:41 -0700, Guy Tamir wrote: > Hi all, > > I was wondering how i can get the source from which the request came > from. If a user posted a link that directs to my server on facebook i'd > like to know that a specific click was from facebook or twitter etc.. That would be

Getting request's source site

2013-08-26 Thread Guy Tamir
Hi all, I was wondering how i can get the source from which the request came from. If a user posted a link that directs to my server on facebook i'd like to know that a specific click was from facebook or twitter etc.. Thanks -- http://mail.python.org/mailman/listinfo/python-list