Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.059 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'practice,': 0.07; 'subject:Getting': 0.07; 'received:internal': 0.09; 'header?': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'wrote:': 0.18; 'subject:request': 0.19; 'aug': 0.22; 'mon,': 0.24; 'header:In- Reply-To:1': 0.27; 'external': 0.29; '(this': 0.29; 'program,': 0.31; 'serve': 0.31; 'usually': 0.31; 'directly,': 0.31; 'enforce': 0.31; 'open': 0.33; 'cases': 0.33; 'received:66': 0.35; "can't": 0.35; 'except': 0.35; 'something': 0.35; 'but': 0.35; 'there': 0.35; 'thanks': 0.36; 'received:10': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'users': 0.40; 'guy': 0.60; 'from:no real name:2**0': 0.61; "you'll": 0.62; 'header:Message-Id:1': 0.63; '26,': 0.68; 'present.': 0.74; 'subject:source': 0.84; '2013,': 0.91; 'refuse': 0.93; 'reply,': 0.93 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:in-reply-to:references:subject:date; s=mesmtp; bh= Pn2QAZS5TWilp6XA2wD02dUXe3I=; b=OuLBN6AHkdtxIKEHF1u3vPZKXGuWMRGM n2/eLg9WXYDdd3pq5Gb6hel9ek/MG5DhFAz03DF0gGvsqDheIZF9AxteyOtyHhyS itfccDJxY5rc3fRlJpRaUNUGU0o2ICPIwNZAfc+saNqMzpXJJiV68eSEhynqljBr 08c9sCyGQmw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=Pn2QAZS5TWilp6XA2wD02dUXe3I=; b=uoC hMHpYjO7WZxZAcrHOOsOF/SB7qfzEhXX7M/b3BIU9SQ2lF4RrASvQjWF/pkg9s5W WfogKsRMQBlK9trpOoM9WI7jwZrI5CQatDFe4N7tKdDjZBAVz0W9072m37vg11EV /iAKD/+G3GcAdv/gPpTnjyzjLkVU//eejrOJ+WSo= X-Sasl-Enc: 673s1XJiChjt2Y6RGHaWB0WrUuKtLT4U60hccUwwKc75 1377539492 From: random832@fastmail.us To: "" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-be0d4992 In-Reply-To: <03e29dbb-d95d-495e-8937-2b630897d36b@googlegroups.com> 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: Mon, 26 Aug 2013 13:51:32 -0400 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1377539494 news.xs4all.nl 15986 [2001:888:2000:d::a6]:36794 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:53011 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.