mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
alphabetical ordering
Co-authored-by: François Freitag <mail@franek.fr>
This commit is contained in:
parent
193ea9153e
commit
d804981a37
@ -465,7 +465,7 @@ class HyperlinkAvailabilityCheckWorker(Thread):
|
|||||||
# but still responding properly to GET requests. This has been observed in the
|
# but still responding properly to GET requests. This has been observed in the
|
||||||
# wild with at https://patft.uspto.gov/.
|
# wild with at https://patft.uspto.gov/.
|
||||||
# See https://github.com/sphinx-doc/sphinx/issues/9306 for more details.
|
# See https://github.com/sphinx-doc/sphinx/issues/9306 for more details.
|
||||||
except (HTTPError, TooManyRedirects, ConnectionError) as err:
|
except (ConnectionError, HTTPError, TooManyRedirects) as err:
|
||||||
if isinstance(err, HTTPError) and err.response.status_code == 429:
|
if isinstance(err, HTTPError) and err.response.status_code == 429:
|
||||||
raise
|
raise
|
||||||
# retry with GET request if that fails, some servers
|
# retry with GET request if that fails, some servers
|
||||||
|
Loading…
Reference in New Issue
Block a user