Issue #4646
closed'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
Updated by ipanova@redhat.com over 5 years ago
this headers is optional, in addition docs state that you should not rely on this header because it is not trusted
Updated by ipanova@redhat.com over 5 years ago
however for compatibility of clients it is better to include the header whenever the digest is available.
Updated by ipanova@redhat.com over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
Updated by ipanova@redhat.com over 5 years ago
- Status changed from ASSIGNED to POST
- Sprint set to Sprint 55
Added by ipanova@redhat.com over 5 years ago
Added by ipanova@redhat.com over 5 years ago
Revision b8cca325 | View on GitHub
Add 'Docker-Content-Digest' header to the reasponse headers.
Added by ipanova@redhat.com over 5 years ago
Revision b8cca325 | View on GitHub
Add 'Docker-Content-Digest' header to the reasponse headers.
Added by ipanova@redhat.com over 5 years ago
Revision b8cca325 | View on GitHub
Add 'Docker-Content-Digest' header to the reasponse headers.
Updated by ipanova@redhat.com over 5 years ago
- Status changed from POST to MODIFIED
Applied in changeset commit:pulp_docker|b8cca32518f9057b441e599200bfa5a6dfa18eda.
Updated by ipanova@redhat.com over 5 years ago
Applied in changeset b8cca32518f9057b441e599200bfa5a6dfa18eda.
Updated by ipanova@redhat.com about 5 years ago
- Project changed from Docker Support to Container Support
Updated by ipanova@redhat.com about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Add 'Docker-Content-Digest' header to the reasponse headers.
closes #4646 https://pulp.plan.io/issues/4646