Getting HTTP responses - a python linkchecking script.
Scott David Daniels
scott.daniels at acm.org
Mon May 8 14:23:19 EDT 2006
blair.bethwaite at gmail.com wrote:
> 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?
You can help by mentioning where you'd most expect to find it in a
Python documentation bug (or enhancement) report. Then you to can be a
Python contributor.
--Scott David Daniels
scott.daniels at acm.org
More information about the Python-list
mailing list