Skip to content

Commit 9445fa8

Browse files
Copilotdarrelmiller
andcommitted
Update section 6 to align reset parameter semantics with dynamic quota algorithms
Co-authored-by: darrelmiller <447694+darrelmiller@users.noreply.github.com>
1 parent be4bcbb commit 9445fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

draft-ietf-httpapi-ratelimit-headers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ RateLimit: "problemPolicy";r=0;t=10
358358

359359
~~~
360360

361-
If a response contains both the Retry-After and the RateLimit header fields, the reset parameter value SHOULD reference the same point in time as the Retry-After field value.
361+
If a response contains both the Retry-After and the RateLimit header fields, the reset parameter value SHOULD reference the same point in time as when additional quota becomes available, which SHOULD align with the Retry-After field value.
362362

363363
A service using RateLimit header fields MUST NOT convey values exposing an unwanted volume of requests and SHOULD implement mechanisms to cap the ratio between the remaining and the reset parameter values (see {{sec-resource-exhaustion}}); this is especially important when a quota policy uses a large time window.
364364

0 commit comments

Comments
 (0)