- From: Lucas Pardue <lucas@lucaspardue.com>
- Date: Thu, 28 Nov 2024 11:47:23 +0000
- To: "Robert Rothenberg" <robrwo@gmail.com>, "Diggory Blake" <djjb2@cantab.net>
- Cc: "HTTP Working Group" <ietf-http-wg@w3.org>
- Message-Id: <8ecc1a5b-9575-48de-b5f1-0ec26fc346eb@app.fastmail.com>
Perhaps https://datatracker.ietf.org/doc/draft-ietf-httpapi-ratelimit-headers/ satisfies your needs On Thu, Nov 28, 2024, at 11:37, Robert Rothenberg wrote: > I am using "Retry-After" for consistency with HTTP 429 and 503. But maybe a different header name is more appropriate, such as Continue-After. > > On 28/11/2024 11:33, Diggory Blake wrote: >> If the server returned the expected content, then why would the client need to retry the request? >> >> On Thu, Nov 28, 2024 at 11:19 AM Robert Rothenberg <robrwo@gmail.com> wrote: >>> It would be nice to detect when the server is unusually busy and >>> indicate in the response that the client should retry later, but in a >>> way that indicates the response content is not an error. >>> >>> HTTP 429 (too many requests) and HTTP 503 (server unavailable) are not >>> really relevant as they suggest there is an error. >>> >>> It would be useful to have something like HTTP 229 that means "Ok, but >>> busy". The response would include a Retry-After header, and the body >>> would be a normal response body as if an HTTP 200 was received. >>> >>> The meaning of this response is that the content fulfils the request, >>> but the server is "busy", and that future requests before the >>> Retry-After header might be rejected. >>> >>> The server is not required to (and should not) explain why it is busy. >>> It may be due to high CPU load, high memory usage, or too many requests, >>> or too many requests from a specific agent or network. >>> >>> The client should not infer anything other than the response body is >>> useful but to discontinue making additional requests until after the >>> recommended time. >>> >>> >>>
Received on Thursday, 28 November 2024 11:47:52 UTC