Add new 501 HTTP status code for container registry renames

What does this MR do and why?

In this MR, we add 501 as a valid response code for the rename API. This new response code has been added to the API in container-registry!2394 (merged) and is returned when the rename feature is not supported.

With the addition of this new status code that is interpreted as :rename_not_supported, this allows the response to be interpreted and displayed correctly in error messages or logs.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #553856 (closed)

Merge request reports

Loading