Skip to content

ggcr: referrers Content-Type should indicate it is an OCI index #1760

Closed
@sudo-bmitch

Description

@sudo-bmitch

Describe the bug

The referrers response should be an OCI index, but the Content-Type header says it's text/plain.

To Reproduce

Run the server with referrers enabled, push content with referrers, and query with curl -i to see the headers.

Expected behavior

The header should be Content-Type: application/vnd.oci.image.index.v1+json.

Additional context

opencontainers/distribution-spec#452

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions