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@python components: Documentation messages: 254720 nosy: docs@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 <[email protected]> <http://bugs.python.org/issue25633> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
