New submission from paul rubin: 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. ---------- components: Library (Lib) messages: 62613 nosy: phr severity: normal status: open title: no way to get http result status from urllib type: feature request versions: Python 2.5 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2151> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com