Commit 028fdb0
fix(client): send Ory-RateLimit-Action header on project HTTP client
The ORY_RATE_LIMIT_HEADER value was only attached to the Ory Network SDK
client, not to the project HTTP client used by the wrapped Ory Kratos and
Ory Hydra admin CLI commands (identity import/get/list, etc.). As a result
those admin API calls were still subject to rate limiting during E2E tests.
Attach the header to the project HTTP client too. No-op unless the env var
is set.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 2f39e16 commit 028fdb0
2 files changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
0 commit comments