Merge pull request #744 from aaronlehmann/manifest-put-response-code

Manifest PUT should return 201 Created
This commit is contained in:
Derek McGowan 2015-07-28 10:42:54 -07:00
commit 09dd357016
3 changed files with 4 additions and 4 deletions

View file

@ -607,7 +607,7 @@ var routeDescriptors = []RouteDescriptor{
Successes: []ResponseDescriptor{
{
Description: "The manifest has been accepted by the registry and is stored under the specified `name` and `tag`.",
StatusCode: http.StatusAccepted,
StatusCode: http.StatusCreated,
Headers: []ParameterDescriptor{
{
Name: "Location",