Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sudo-bmitch opened this issue Jul 25, 2023 · 0 comments · Fixed by #1762
Closed

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

sudo-bmitch opened this issue Jul 25, 2023 · 0 comments · Fixed by #1762
Labels
bug Something isn't working

Comments

@sudo-bmitch
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant