Skip to content

Commit

Permalink
Update optimade.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Rickard Armiento <[email protected]>
  • Loading branch information
merkys and rartino authored Jun 15, 2022
1 parent 15e0749 commit 924283d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions optimade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,8 @@ Every response SHOULD contain the following fields, and MUST contain at least :f
- **last\_id**: a string containing the last ID returned.
- **response\_message**: response string from the server.
- **request\_delay**: a non-negative float giving time in seconds that the client is suggested to wait before issuing a subsequent request.
An implementation MAY respond with :http-error:`429 Too Many Requests` error if a client refuses to respect the indicated delay.
In that case the response SHOULD contain a `Retry-After HTTP header <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After>`__ to instruct the client to wait before retrying.

Implementation note: the functionality of this field overlaps to some degree features provided by the HTTP error :http-error:`429 Too Many Requests` and the `Retry-After HTTP header <https://tools.ietf.org/html/rfc7231.html#section-7.1.3>`__. Implementations are suggested to provide consistent handling of request overload through both mechanisms.
- **implementation**: a dictionary describing the server implementation, containing the OPTIONAL fields:

- **name**: name of the implementation.
Expand Down

0 comments on commit 924283d

Please sign in to comment.