Jarek Zgoda wrote:
> rodmc 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.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to