content type lists -> sets
This commit is contained in:
parent
59529569dc
commit
56951397a9
2 changed files with 4 additions and 4 deletions
|
@ -25,8 +25,8 @@ logger = logging.getLogger(__name__)
|
|||
# Content Types
|
||||
DOCKER_SCHEMA1_MANIFEST_CONTENT_TYPE = 'application/vnd.docker.distribution.manifest.v1+json'
|
||||
DOCKER_SCHEMA1_SIGNED_MANIFEST_CONTENT_TYPE = 'application/vnd.docker.distribution.manifest.v1+prettyjws'
|
||||
DOCKER_SCHEMA1_CONTENT_TYPES = [DOCKER_SCHEMA1_MANIFEST_CONTENT_TYPE,
|
||||
DOCKER_SCHEMA1_SIGNED_MANIFEST_CONTENT_TYPE]
|
||||
DOCKER_SCHEMA1_CONTENT_TYPES = {DOCKER_SCHEMA1_MANIFEST_CONTENT_TYPE,
|
||||
DOCKER_SCHEMA1_SIGNED_MANIFEST_CONTENT_TYPE}
|
||||
|
||||
# Keys for signature-related data
|
||||
DOCKER_SCHEMA1_SIGNATURES_KEY = 'signatures'
|
||||
|
|
|
@ -7,5 +7,5 @@ https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md
|
|||
# Content Types
|
||||
DOCKER_SCHEMA2_MANIFEST_CONTENT_TYPE = 'application/vnd.docker.distribution.manifest.v2+json'
|
||||
DOCKER_SCHEMA2_MANIFESTLIST_CONTENT_TYPE = 'application/vnd.docker.distribution.manifest.list.v2+json'
|
||||
DOCKER_SCHEMA2_CONTENT_TYPES = [DOCKER_SCHEMA2_MANIFEST_CONTENT_TYPE,
|
||||
DOCKER_SCHEMA2_MANIFESTLIST_CONTENT_TYPE]
|
||||
DOCKER_SCHEMA2_CONTENT_TYPES = {DOCKER_SCHEMA2_MANIFEST_CONTENT_TYPE,
|
||||
DOCKER_SCHEMA2_MANIFESTLIST_CONTENT_TYPE}
|
||||
|
|
Reference in a new issue