1
0
mirror of https://github.com/opencontainers/distribution-spec.git synced 2025-04-18 20:04:03 +03:00

Update README.md

Add links to RFC sections, resolving a TODO

Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
Jason Hall 2023-05-16 09:12:38 -04:00 committed by GitHub
parent 57b69b6474
commit 09d29b1113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ As of current, `_oci` and `_catalog` are considered as reserved namespaces and c
### Versioning
Data payloads being exchanged from extensions SHOULD handle versioned data structures this with `Accepts` and `Content-type` HTTP headers (LINK TO RFC).
Data payloads being exchanged from extensions SHOULD handle versioned data structures this with [`Accept`](https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.2) and [`Content-Type`](https://datatracker.ietf.org/doc/html/rfc7231#section-3.1.1.5) HTTP headers.
If an extension has fundamentally changed enough, then it SHOULD be introduced as a new `<component>` and/or `<component>/<module>`.
Whether or not there is versioning built into those names is up to the extension maintainer.