Steve Holden napisaƂ(a):

>>> Probably a silly question but I am writing a CGI script which need to
>>> check the referring URL, can anyone provide any pointers? I have
>>> looked at URLLib2 and a couple of other libraries, but am slightly
>>> confused.
>>
>> Using httplib you can issue HEAD request to check if it does not return
>> 404 response, but this works only with HTTP/HTTPS urls.
>>
> It's unlikely that any other type of URL would result in the browser
> sending a "Referer:" header.

Right, perfectly valid assumption. ;)

I am bit too defensive today.

-- 
Jarek Zgoda
Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101

"We read Knuth so you don't have to." (Tim Peters)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to