Skip to content

Feature/devexp 1394 python support http 429 with without retry after header#159

Open
marcos-sinch wants to merge 4 commits into
v2.1-nextfrom
feature/DEVEXP-1394-Python-Support-HTTP-429-with-without-retry-after-header
Open

Feature/devexp 1394 python support http 429 with without retry after header#159
marcos-sinch wants to merge 4 commits into
v2.1-nextfrom
feature/DEVEXP-1394-Python-Support-HTTP-429-with-without-retry-after-header

Conversation

@marcos-sinch

Copy link
Copy Markdown
Contributor

Support HTTP 429 retries (with and without Retry-After header)

Adds automatic retries for rate-limited (429) responses in HTTPTransport, applied on both the normal and legacy paths and after token renewal.

  • _send_with_retries retries up to MAX_RETRIES, if exhausted, it returns the last response to the caller.
  • Backoff respects the Retry-After header when present (seconds or HTTP date), otherwise it uses exponential backoff with full jitter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant