Skip to content

v0.2.5

Choose a tag to compare

@benoitc benoitc released this 07 Jun 13:11
· 4 commits to main since this release
f8c99b4

Maintenance release: HTTP client fixes and a Retry-After-aware retry layer. No API change beyond the new retry option.

Added

  • The retry layer honors a Retry-After (delta-seconds) header on a retryable response, sleeping that long instead of the computed backoff, capped by the new retry_after_max option (default 120000 ms). An HTTP-date Retry-After falls back to backoff.

Fixed

  • The hackney client adapter no longer crashes on a bodyless response (HEAD, 204, 304), where hackney returns a three-tuple with no body.

Changed

  • Bump hackney 4.2.1 -> 4.2.2.

Full Changelog: https://github.com/benoitc/livery/blob/main/CHANGELOG.md