Skip to content

Commit 703802f

Browse files
authored
spec: add missing TOOMANYREQUESTS (429) error-code (#209)
The `TOOMANYREQUESTS` error code was added in distribution/distribution#1693, and added to the documentation in distribution/distribution#1833. While it's documented in various examples, it never made it to the list of allowed error-codes. This patch is fixing that omission and adding it to the list of valid error-codes that can be returned by registries Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent db37dc2 commit 703802f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,8 @@ The `code` field MUST be one of the following:
469469
| code-12 | `TAG_INVALID` | manifest tag did not match URI |
470470
| code-13 | `UNAUTHORIZED` | authentication required |
471471
| code-14 | `DENIED` | requested access to the resource is denied |
472-
| code-15 | `UNSUPPORTED` | the operation is unsupported |
472+
| code-15 | `UNSUPPORTED` | the operation is unsupported |
473+
| code-16 | `TOOMANYREQUESTS` | too many requests |
473474

474475
### Appendix
475476

0 commit comments

Comments
 (0)