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:
committed by
Sven Dowideit
parent
3fd5e4c058
commit
5d83fcb509
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user