Merge pull request #744 from aaronlehmann/manifest-put-response-code
Manifest PUT should return 201 Created
This commit is contained in:
commit
09dd357016
3 changed files with 4 additions and 4 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue