Getting HTTP responses - a python linkchecking script.
blair.bethwaite at gmail.com
blair.bethwaite at gmail.com
Mon May 8 03:11:10 EDT 2006
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?
Cheers,
-Blair
More information about the Python-list
mailing list