-
Bug
-
Resolution: Unresolved
-
Major
-
quay-v3.12.0
-
False
-
None
-
False
-
-
Description:
This is an issue found in quay new feature "OCI-compliant pagination", following the OCI guide, when the n=0, Quay should return empty list and also should not return link header, but in stage.quay.io, Quay still return the latest tag and including link header, pls review this issue.
ENV: stage.quay.io
OCI Doc: https://github.com/opencontainers/distribution-spec/blob/main/spec.md#content-discovery
"When n is zero, this endpoint MUST return an empty list, and MUST NOT include a Link header. "
curl --location 'https://stage.quay.io/v2/qateam/ocipagination/tags/list?n=0' --header 'Authorization: Bearer ********'| jq < date: Fri, 14 Jun 2024 08:04:16 GMT < content-type: application/json < content-length: 50 < server: nginx/1.22.1 < link: </v2/qateam/ocipagination/tags/list?n=1&last=latest>; rel="next" < vary: Cookie < x-frame-options: DENY < strict-transport-security: max-age=63072000; preload { "name": "qateam/ocipagination", "tags": [ "latest" ] }
- is related to
-
PROJQUAY-6931 OCI-compliant pagination
- Closed
- links to