1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

HTTP Status 201 not 200

The http status should be 201 not 200.

Docker-DCO-1.1-Signed-off-by: Erik Kristensen <erik@erikkristensen.com> (github: SvenDowideit)
Upstream-commit: c4db3b8075ab4b8bd0c6599cb19e09eb77c82946
Component: engine
This commit is contained in:
Erik Kristensen
2014-09-08 11:18:13 -06:00
committed by Sven Dowideit
parent 3fd5e4c058
commit 5d83fcb509

View File

@@ -526,7 +526,7 @@ file is empty.
**Valid**:
return HTTP 200
return HTTP 201
Errors: HTTP 400 (we should create error codes for possible errors) -
invalid json - missing field - wrong format (username, password, email,