From 63e0e0bf27abec50eb5c0c9d61156be2d8349927 Mon Sep 17 00:00:00 2001 From: Lubos Mjachky Date: Wed, 13 Dec 2023 20:22:54 +0100 Subject: [PATCH] Add MANIFEST_V1_SIGNED to V2_ACCEPT_HEADERS In many registries, MANIFEST_V1_SIGNED and MANIFEST_V1 is interchangeable and considered equal. closes #1444 (cherry picked from commit 2e59a917592c6c731886291cc2c3c6d22b1c00c3) --- CHANGES/1444.bugfix | 2 ++ pulp_container/constants.py | 1 + 2 files changed, 3 insertions(+) create mode 100644 CHANGES/1444.bugfix diff --git a/CHANGES/1444.bugfix b/CHANGES/1444.bugfix new file mode 100644 index 000000000..8369792da --- /dev/null +++ b/CHANGES/1444.bugfix @@ -0,0 +1,2 @@ +Added ``application/vnd.docker.distribution.manifest.v1+prettyjws`` to the list of accepted +media types retrieved from a remote registry. diff --git a/pulp_container/constants.py b/pulp_container/constants.py index 5038dd15c..dd9173c9a 100644 --- a/pulp_container/constants.py +++ b/pulp_container/constants.py @@ -25,6 +25,7 @@ [ MEDIA_TYPE.MANIFEST_V2, MEDIA_TYPE.MANIFEST_V1, + MEDIA_TYPE.MANIFEST_V1_SIGNED, MEDIA_TYPE.MANIFEST_LIST, MEDIA_TYPE.INDEX_OCI, MEDIA_TYPE.MANIFEST_OCI,