Skip to content

Commit

Permalink
Document manifest size limit recommendation
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Hall <[email protected]>
  • Loading branch information
imjasonh committed Aug 10, 2021
1 parent 7108d95 commit 54a193f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,10 @@ The `<location>` is a pullable manifest URL.

An attempt to pull a nonexistent repository MUST return response code `404 Not Found`

A registry SHOULD enforce some limit on the maximum manifest size that it can accept.
A registry that enforces this limit SHOULD respond to a request to push a manifest over this limit with a response code `413 Payload Too Large`.
Client and registry implementations SHOULD expect to be able to support manifest pushes of at least 4 megabytes.

#### Content Discovery

Currently, the only functionality provided by this workflow is the ability to discover tags.
Expand Down

0 comments on commit 54a193f

Please sign in to comment.