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
auth.go
auth_test.go
config.go
config_test.go
config_unix.go
config_windows.go
endpoint_test.go
endpoint_v1.go
errors.go
registry.go
registry_mock_test.go
registry_test.go
service.go
service_v2.go
session.go
types.go