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>
Upstream-commit: 3892ac7e9418547785c36c91c3fb49a9c876c4b1
Component: engine
This commit is contained in:
Sebastiaan van Stijn
2016-08-09 10:56:49 +02:00
parent 835bbac65d
commit b5bd5a422a
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