Skip to content

docs(readme): document Retry-After 429 header (#324)#325

Merged
CryptoJones merged 1 commit into
masterfrom
docs/readme-retry-after-429
May 19, 2026
Merged

docs(readme): document Retry-After 429 header (#324)#325
CryptoJones merged 1 commit into
masterfrom
docs/readme-retry-after-429

Conversation

@CryptoJones
Copy link
Copy Markdown
Owner

Closes #324.

Summary

Adds a bullet in the README's HTTP-conventions section for the Retry-After 429 response header exposed in #322, with the CORS rationale.

Test plan

  • npm run lint && npm test — 782 passing (docs-only change).

Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/

#322 exposed `Retry-After` on cross-origin 429 responses so browser
JS could honor the server's back-off instead of falling back to a
fixed-delay retry. The README's "HTTP conventions" section listed
the RateLimit-* trio but never mentioned Retry-After, so SDK
authors reading the doc wouldn't know the field was available.

Add a bullet describing the header, what it means, and the CORS
exposure rationale (Retry-After is NOT on the CORS safelisted-
response-headers set, so the project's expose-headers list is what
makes it readable cross-origin).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@CryptoJones CryptoJones merged commit 9d511c8 into master May 19, 2026
3 checks passed
@CryptoJones CryptoJones deleted the docs/readme-retry-after-429 branch May 19, 2026 18:06
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.

README: mention Retry-After 429 header alongside RateLimit-*

1 participant