This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author phr
Recipients phr
Date 2008-02-21.09:52:51
SpamBayes Score 0.002411421
Marked as misclassified No
Message-id <1203587573.07.0.565348381729.issue2151@psf.upfronthosting.co.za>
In-reply-to
Content
I don't see any way in the docs to get the status of an http request, in
particular I want to know whether it's a 404.  It does show up in the
guts of the library so maybe I can extract it somehow, but there should
be a simple documented way.

Also, the urllib doc says the info() method returns a mimetools.Message
instance, but what actually comes back is an httplib.HTTPMessage
instance.  I guess that's a subclass, but it's confusing.  The doc
should describe what actually comes back.
History
Date User Action Args
2008-02-21 09:52:53phrsetspambayes_score: 0.00241142 -> 0.002411421
recipients: + phr
2008-02-21 09:52:53phrsetspambayes_score: 0.00241142 -> 0.00241142
messageid: <1203587573.07.0.565348381729.issue2151@psf.upfronthosting.co.za>
2008-02-21 09:52:52phrlinkissue2151 messages
2008-02-21 09:52:51phrcreate