You need to sign in or sign up before continuing.
Incorrect response when deleting a registry container tag
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
When trying to delete a tag of a container within the registry ( https://docs.gitlab.com/api/container_registry/#delete-a-registry-repository-tag ), an incorrect response is returned. The response indicates this is of type application/json
, however the body simply only has 200
. Either return a correctly formatted message, or allow the content type to be text/plain
from the accept
headers of the client.
Most appropriate solution probably would be to fall back to empty bodies and return either;
-
204
- if the deletion was successful -
202
- if the deletion is async, and hasn't finished yet
Edited by 🤖 GitLab Bot 🤖