distribution/docs/spec
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
..
auth registry: fix binary JSON content-type 2019-01-14 09:04:42 +00:00
images Put back v2-registry-auth.png 2017-07-24 14:27:16 -07:00
api.md registry: fix binary JSON content-type 2019-01-14 09:04:42 +00:00
api.md.tmpl api.md: Fixed incorrect grammar 2018-01-02 12:49:31 +02:00
implementations.md Convert Markdown frontmatter to YAML 2016-10-14 15:59:19 -07:00
index.md Fixed broken storage driver link 2018-01-25 14:54:50 -08:00
json.md Convert Markdown frontmatter to YAML 2016-10-14 15:59:19 -07:00
manifest-v2-1.md Fix keyword format for downstream docs 2017-10-24 15:26:28 -07:00
manifest-v2-2.md Fix keyword format for downstream docs 2017-10-24 15:26:28 -07:00
menu.md Fix keyword format for downstream docs 2017-10-24 15:26:28 -07:00