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 jon orebro
Recipients docs@python, jon orebro
Date 2015-11-16.08:42:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447663371.73.0.839165836135.issue25633@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for urllib.request should mention that a robust client using urllib.request must be prepared for exceptions of type http.client.HTTPException in addition to urllib.error.URLError.

Example: the server breaks HTTP and returns an empty status line and we get a http.client.BadStatusLine.
History
Date User Action Args
2015-11-16 08:42:51jon orebrosetrecipients: + jon orebro, docs@python
2015-11-16 08:42:51jon orebrosetmessageid: <1447663371.73.0.839165836135.issue25633@psf.upfronthosting.co.za>
2015-11-16 08:42:51jon orebrolinkissue25633 messages
2015-11-16 08:42:51jon orebrocreate