docs: add missing content-type header for image load
Without a content-type header, Go uses a max post size of 10 megabytes, which makes loading images fail if they're larger than 10 megabytes Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
34877a41a8
commit
3892ac7e94
8 changed files with 8 additions and 0 deletions
|
@ -1843,6 +1843,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
|||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
|
|
@ -1924,6 +1924,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
|||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
|
|
@ -2068,6 +2068,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
|||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
|
|
@ -2219,6 +2219,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
|||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
|
|
@ -2608,6 +2608,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
|||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
|
|
@ -2653,6 +2653,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
|||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
|
|
@ -2666,6 +2666,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
|||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
|
|
@ -2672,6 +2672,7 @@ See the [image tarball format](#image-tarball-format) for more details.
|
|||
**Example request**
|
||||
|
||||
POST /images/load
|
||||
Content-Type: application/x-tar
|
||||
|
||||
Tarball in body
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue