Skip to content

Commit dd38b7e

Browse files
authored
Merge pull request #293 from imjasonh/max-manifest
Document manifest size limit recommendation
2 parents cf3ca0c + 54a193f commit dd38b7e

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
@@ -428,6 +428,10 @@ The `<location>` is a pullable manifest URL.
428428

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

431+
A registry SHOULD enforce some limit on the maximum manifest size that it can accept.
432+
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`.
433+
Client and registry implementations SHOULD expect to be able to support manifest pushes of at least 4 megabytes.
434+
431435
#### Content Discovery
432436

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

0 commit comments

Comments
 (0)