-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Internal refactoring: Improve HTTP request exception handling*
- 404 responses and timeouts are no longer subject to retrying. - The exception apt_mirror_updater.http.NotFoundError is now raised on HTTP 404 responses. Other unexpected HTTP response codes raise apt_mirror_updater.http.InvalidResponseError. The specific distinction between 404 and !200 was made because the 404 response will become significant in checking for EOL status in an upcoming change set.
- Loading branch information
Showing
1 changed file
with
28 additions
and
5 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