Skip to content

Commit 54a193f

Browse files
committed
Document manifest size limit recommendation
Signed-off-by: Jason Hall <[email protected]>
1 parent 7108d95 commit 54a193f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,10 @@ The `<location>` is a pullable manifest URL.
402402

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

405+
A registry SHOULD enforce some limit on the maximum manifest size that it can accept.
406+
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`.
407+
Client and registry implementations SHOULD expect to be able to support manifest pushes of at least 4 megabytes.
408+
405409
#### Content Discovery
406410

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

0 commit comments

Comments
 (0)