Skip to content

Commit 4798414

Browse files
committed
distribution: Remove IANA auth-scheme sentence
Stephen points out that the response code list was missing 403 and that the line is fairly low-level [1]. I agree with Derek [2] that the RFC 7235 reference is sufficient to express the idea, and the less we say, the less likely we are to be wrong ;). [1]: #35 (comment) [2]: #35 (comment) Signed-off-by: W. Trevor King <[email protected]>
1 parent f92fdb3 commit 4798414

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

proposals/distribution.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ The following entries should be added to the [scope table][scope]:
8686
* Status: N/A
8787
* Description: Defining protocols for authenticating and authorizing distribution access.
8888
* Why: As an HTTP-based protocol, clients and servers can negotiate authentication via HTTP's [challenge-response authentication framework][rfc7235-s2.1].
89-
There is no need for the distribution specification to choose a particular authentication scheme, because clients receiving 401 and 407 responses can use IANA's [HTTP Authentication Scheme Registry][iana-auth] to look up referenced schemes and take appropriate action.
9089

9190
* “Creating a reference spec for optional DNS based naming and discovery”.
9291
Discovery and registry protocols are completely separate and do not need to be added together.
@@ -144,7 +143,6 @@ The following entries should remain in the [scope table][scope] but not be addre
144143
[api.md]: https://github.com/docker/distribution/blob/5cb406d511b7b9163bff9b6439072e4892e5ae3b/docs/spec/api.md
145144
[catalog]: https://github.com/docker/distribution/blob/5cb406d511b7b9163bff9b6439072e4892e5ae3b/docs/spec/api.md#catalog
146145
[get-manifest]: https://github.com/docker/distribution/blob/5cb406d511b7b9163bff9b6439072e4892e5ae3b/docs/spec/api.md#pulling-an-image-manifest
147-
[iana-auth]: http://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml
148146
[image-spec]: https://github.com/opencontainers/image-spec/
149147
[image-index]: https://github.com/opencontainers/image-spec/blame/v1.0.1/image-index.md
150148
[manifest]: https://github.com/opencontainers/image-spec/blob/v1.0.1/manifest.md

0 commit comments

Comments
 (0)