Bug #37399
closedContainer gateway needs to send ACCEPT headers from podman to Pulp
Description
https://github.com/pulp/pulp_container/issues/1509 causes the old datatypes to no longer be stored, so we need to start sending ACCEPT headers from podman.
The headers look like:
'Accept: application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.manifest.v1+json,application/vnd.oci.image.index.v1+json'
curl example to Pulp:
curl -L --cert foreman-client.crt --key foreman-client.key 'https://smart-proxy.com/pulpcore_registry/v2/prometheus_busybox/manifests/latest' --header 'Accept: application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.manifest.v1+json,application/vnd.oci.image.index.v1+json'