Getting HTTP responses - a python linkchecking script.
Rene Pijlman
reply.in.the.newsgroup at my.address.is.invalid
Mon May 8 03:51:24 EDT 2006
blair.bethwaite at gmail.com:
>Rene Pijlman wrote:
>> blair.bethwaite at gmail.com:
>> >with urllib2 it doesn't seem possible to get HTTP status codes.
>>
>> except urllib2.HTTPError, e:
>> if e.code == 403:
>
>Thanks. Is there documentation for this available somewhere online, I
>can't see it to obviously in the library reference?
No, this seems to be missing from the documentation.
--
René Pijlman
More information about the Python-list
mailing list