registry/docs
Luca Bruno 15b0204758
registry: fix binary JSON content-type
This fixes registry endpoints to return the proper `application/json`
content-type for JSON content, also updating spec examples for that.

As per IETF specification and IANA registry [0], the `application/json`
type is a binary media, so the content-type label does not need any
text-charset selector. Additionally, the media type definition
explicitly states that it has no required nor optional parameters,
which makes the current registry headers non-compliant.

[0]: https://www.iana.org/assignments/media-types/application/json

Signed-off-by: Luca Bruno <lucab@debian.org>
2019-01-14 09:04:42 +00:00
..
spec registry: fix binary JSON content-type 2019-01-14 09:04:42 +00:00
architecture.md Put architecture.md back into distribution repo 2017-05-23 11:24:11 -07:00
configuration.md Add docs for autoredirect config parameter 2019-01-04 13:11:20 -08:00
README.md Add back configuration.md and add clarification to README.md 2016-10-13 11:49:49 -07:00

The docs have been moved!

The documentation for Registry has been merged into the general documentation repo. Commit history has been preserved.

The docs for Registry are now here: https://github.com/docker/docker.github.io/tree/master/registry

Note: The definitive ./spec directory directory and configuration.md file will be maintained in this repository and be refreshed periodically in the general documentation repo.

As always, the docs in the general repo remain open-source and we appreciate your feedback and pull requests!