Issue #4646
'docker-content-digest' header is not returned with requests for a tag
Description
Crane and Pulp don't set the 'Docker-content-digest' header [0]. Users want to make a HEAD request for a tag to find out if that tag is pointing to a new manifest. Without this header, users must download the manifest in order to learn its digest.
The first thing that I found when searching the web is a bug about Crane[1]. We need to fix this for Pulp 3.
[0] https://docs.docker.com/registry/spec/api/#content-digests
[1] https://github.com/renovatebot/renovate/issues/2315
Associated revisions
Revision b8cca325
View on GitHub
Add 'Docker-Content-Digest' header to the reasponse headers.
Revision b8cca325
View on GitHub
Add 'Docker-Content-Digest' header to the reasponse headers.
Revision b8cca325
View on GitHub
Add 'Docker-Content-Digest' header to the reasponse headers.
History
#1
Updated by amacdona@redhat.com almost 2 years ago
- Description updated (diff)
#2
Updated by ipanova@redhat.com almost 2 years ago
this headers is optional, in addition docs state that you should not rely on this header because it is not trusted
#3
Updated by ipanova@redhat.com almost 2 years ago
however for compatibility of clients it is better to include the header whenever the digest is available.
#4
Updated by dkliban@redhat.com almost 2 years ago
- Triaged changed from No to Yes
#5
Updated by bmbouter over 1 year ago
- Tags deleted (
Pulp 3)
#6
Updated by ipanova@redhat.com over 1 year ago
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
#7
Updated by ipanova@redhat.com over 1 year ago
- Status changed from ASSIGNED to POST
- Sprint set to Sprint 55
#8
Updated by ipanova@redhat.com over 1 year ago
- Status changed from POST to MODIFIED
Applied in changeset commit:pulp_docker|b8cca32518f9057b441e599200bfa5a6dfa18eda.
#9
Updated by ipanova@redhat.com over 1 year ago
Applied in changeset b8cca32518f9057b441e599200bfa5a6dfa18eda.
#10
Updated by ipanova@redhat.com about 1 year ago
- Project changed from Docker Support to Container Support
#11
Updated by ipanova@redhat.com about 1 year ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
#12
Updated by ipanova@redhat.com almost 1 year ago
- Sprint/Milestone set to 1.0.0
Please register to edit this issue
Add 'Docker-Content-Digest' header to the reasponse headers.
closes #4646 https://pulp.plan.io/issues/4646