[docs] [issue25633] The documentation for urllib.request should mention http.client.HTTPException

jon orebro report at bugs.python.org
Mon Nov 16 03:42:51 EST 2015


New submission from jon orebro:

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.

----------
assignee: docs at python
components: Documentation
messages: 254720
nosy: docs at python, jon orebro
priority: normal
severity: normal
status: open
title: The documentation for urllib.request should mention http.client.HTTPException
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25633>
_______________________________________


More information about the docs mailing list