Message254720
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. |
|
Date |
User |
Action |
Args |
2015-11-16 08:42:51 | jon orebro | set | recipients:
+ jon orebro, docs@python |
2015-11-16 08:42:51 | jon orebro | set | messageid: <1447663371.73.0.839165836135.issue25633@psf.upfronthosting.co.za> |
2015-11-16 08:42:51 | jon orebro | link | issue25633 messages |
2015-11-16 08:42:51 | jon orebro | create | |
|