1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/registry
Sebastiaan van Stijn b5835646eb
registry: remove const for 'Docker-Distribution-Api-Version' header
This header was used for fallbacks to v1 registries, but it's no longer
used, and marked optional / legacy in the OCI distribution-spec:

https://github.com/opencontainers/distribution-spec/blob/v1.0.0/spec.md#legacy-docker-support-http-headers

> Because of the origins this specification, the client MAY encounter
> Docker-specific headers, such as `Docker-Content-Digest`, or
> `Docker-Distribution-API-Version`. These headers are OPTIONAL and
> clients SHOULD NOT depend on them.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-24 22:08:28 +02:00
..
resumable bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
auth.go Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
auth_test.go Use designated test domains (RFC2606) in tests 2021-04-02 14:06:27 +02:00
config.go registry: remove const for 'Docker-Distribution-Api-Version' header 2021-06-24 22:08:28 +02:00
config_test.go Use designated test domains (RFC2606) in tests 2021-04-02 14:06:27 +02:00
config_unix.go registry: fix mtls config dir passing 2020-05-14 12:02:09 -07:00
config_windows.go registry: fix mtls config dir passing 2020-05-14 12:02:09 -07:00
endpoint_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
endpoint_v1.go Remove more of registry v1 code. 2021-02-23 09:49:46 +01:00
errors.go registry: remove v1 code not related to searching 2020-10-28 15:23:27 +01:00
registry.go registry: fix mtls config dir passing 2020-05-14 12:02:09 -07:00
registry_mock_test.go registry: normalize comment formatting 2019-11-27 15:45:23 +01:00
registry_test.go Use designated test domains (RFC2606) in tests 2021-04-02 14:06:27 +02:00
service.go registry.Auth: try next endpoints on non-auth failures 2021-02-23 09:49:51 +01:00
service_v2.go registry: remove v1 authentication 2020-10-28 14:06:36 +01:00
session.go registry: remove v1 code not related to searching 2020-10-28 15:23:27 +01:00
types.go Add canonical import comment 2018-02-05 16:51:57 -05:00