NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2196 most downloaded on PyPI
A retry layer for HTTPX.
Last release 3 months ago
06 Jul 2026
Release timing varies
gaps range from 9 days to 4 months
Nearly every release is documented
notes for 17 of 17 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
17 releases · first in 2025
One column per month.
retry_request and aretry_request helpers, which run the retry loop at the client level so that errors raised while reading the response body (such as
retry_request and aretry_request helpers, which run the retry loop at the client level so thatReadTimeout and RemoteProtocolError) areRetryTransport cannot do, as transports return before the body is read.RetryTransport to avoid retrying every request twice. (#79 byvalidate_response option on Retry to retry when a callback rejects an otherwise-successfulrequest.extensions["retry"] support, allowing the Retry configuration to be overridden perRetry is also attached to response.extensions["retry"] for introspection. (#75Retry.copy_with to derive a modified Retry (mirroring httpx.URL.copy_with), convenient forrequest.extensions["retry"]. (#75 by @vgavro)total_timeout parameter on Retry to cap the cumulative time spent sleeping across retry attempts on a single request. ( #64 by @will-ockmore )
total_timeout parameter on Retry to cap the cumulative time spent sleeping across retry attempts on a single request. (#64 by @will-ockmore)Retry.allowed_methods stores uppercase strings rather than http.HTTPMethod members. (#64 by @will-ockmore)parse_retry_after now rejects non-ASCII digit characters per RFC 7231. (#62 by @itniuma2026)total_timeout parameter on Retry to cap the cumulative time spent sleeping across retry attempts on a single request.Retry.allowed_methods stores uppercase strings rather than http.HTTPMethod members.Retry-After HTTP-date value is parsed without timezone info, instead of silently using the local offset.parse_retry_after now rejects non-ASCII digit characters per RFC 7231.Don't recalculate time_to_sleep unecessarily ( #51 by @jdkessinger )
time_to_sleep unecessarily (#51 by @jdkessinger)Close all responses, not just server errors ( #49 by @will-ockmore )
Always close responses when retrying operations ( #46 by @mattiZed & @will-ockmore )
Allow arbitrary exceptions to be provided to Retry.retry_on_exceptions ( #37 by @provinzkraut )
Retry.retry_on_exceptionsRetry subclassingAllow non-standard status codes to be passed to the status_forcelist parameter for Retry , and handled in Retry.is_retryable_status_code .
status_forcelist parameter for Retry, and handledRetry.is_retryable_status_code.Included the request object in the retry logs within RetryTransport._retry_operation and RetryTransport._retry_operation_async .
RetryTransport._retry_operation and RetryTransport._retry_operation_async.httpx to include any version greater than 0.20.0.Added FAQs section to the docs.
transport when initializing RetryTransport, so that downstream transports can extendhttpx.BaseTransport and httpx.AsyncBaseTransport.Debug logging is now emitted for core functions
Retry-After is in the past, the default backoff is now usedIncluded missing HTTP verbs PATCH and CONNECT in the backwards-compatible HTTPMethod enum
Added a new parameter and behaviour for the Retry class to retry on a specified set of httpx exceptions in #6 , contributed by @Abdelgha-4
Add contributor's guide and changelog
Add missing py.typed marker.
Add missing py.typed marker.
Improve documentation; include details about custom transport usage.
Improve documentation; include details about custom transport usage.
Tidy docs and correct CI workflows.
Tidy docs and correct CI workflows.
[Unreleased]: https://github.com/will-ockmore/httpx-retries/compare/0.6.0...HEAD [0.6.0]: https://github.com/will-ockmore/httpx-retries/compare/0.5.0.
Your coding agent can read these notes before it upgrades. Set up the MCP server →