-
-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[http- unzip_http] handle errors in retrieving URLs
Make error output user-friendly, instead of showing a traceback. for errors like: http.client.RemoteDisconnected: "Remote end closed connection without response" and ConnectionError ("[Errno 104] Connection reset by peer"). And urllib3.exceptions.MaxRetryError in get_range() on a closed connection. And HTTP status codes other than success in the zip file HEAD request.
- Loading branch information
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters