1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05: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)
This commit is contained in:
Erik Kristensen 2014-09-08 11:18:13 -06:00 committed by Sven Dowideit
parent 23f490427f
commit c4db3b8075

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,