Issue #2992
closedGET by manifest digest should infer media type
Description
When issuing a GET request for a manifest (schema 1, schema 2 image manifest, or schema 2 manifest list) by its digest, the Docker Distribution registry returns the requested object regardless of any Accept: header in the request.
Is it possible for Crane to do this? I guess it isn't because it would need to be told the full inventory of manifest digests... just noting the discrepancy and asking the question. I'm not away of any specific problem this causes right now.
Right now if there is (for example) a manifest list at sha256:0123456..., a GET request for /v2/{name}/manifests/sha256:012346... but without any Accept: header redirects the client to /pulp/docker/.../manifests/1/sha256:012346..., not to the .../list/... location.
Perhaps there is a way of achieving this using symbolic links in /pulp/docker?