Commit 9d511c8
docs(readme): mention Retry-After 429 header alongside RateLimit-* (#325)
#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: Aaron K. Clark <akclark@thenetwerk.net>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9a45159 commit 9d511c8
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
| |||
0 commit comments