mirror of
https://github.com/distribution/distribution.git
synced 2025-09-25 06:11:25 +00:00
Merge pull request #744 from aaronlehmann/manifest-put-response-code
Manifest PUT should return 201 Created
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user