Skip to content

Commit

Permalink
replaced eg with e.g.
Browse files Browse the repository at this point in the history
  • Loading branch information
André Cedik committed Dec 6, 2024
1 parent 8a3bd78 commit 0153c76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions draft-ietf-httpapi-ratelimit-headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ RateLimit: "day";r=100;t=36000

To simplify enforcement of throttling policies and enable clients to constraint their requests to avoid being throttled.

2. Can I use RateLimit header fields in throttled responses (eg with status code 429)?
2. Can I use RateLimit header fields in throttled responses (e.g. with status code 429)?

Yes, you can.

Expand All @@ -996,7 +996,7 @@ RateLimit: "day";r=100;t=36000
Why not using subsecond precision?

Using delay-seconds aligns with Retry-After, which is returned in similar contexts,
eg on 429 responses.
e.g. on 429 responses.

Timestamps require a clock synchronization protocol
(see {{Section 5.6.7 of HTTP}}).
Expand Down Expand Up @@ -1089,7 +1089,7 @@ Commonly used header field names are:
`X-RateLimit-Reset`;

There are variants too, where the window is specified
in the header field name, eg:
in the header field name, e.g.:

- `x-ratelimit-limit-minute`, `x-ratelimit-limit-hour`, `x-ratelimit-limit-day`
- `x-ratelimit-remaining-minute`, `x-ratelimit-remaining-hour`, `x-ratelimit-remaining-day`
Expand Down

0 comments on commit 0153c76

Please sign in to comment.