URLlib2?
Jarek Zgoda
jzgoda at o2.usun.pl
Thu Feb 28 07:57:50 EST 2008
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.
--
Jarek Zgoda
Skype: jzgoda | GTalk: zgoda at jabber.aster.pl | voice: +48228430101
"We read Knuth so you don't have to." (Tim Peters)
More information about the Python-list
mailing list