When querying context files like https://w3id.org/dfc/ontology/context/context_1.16.0.json or https://cdn.jsdelivr.net/gh/datafoodconsortium/ontology@2.0.0/context/context_1.16.0.json we get a content-type header value of application/json instead of application/ld+json.
Even if a JSON-LD document is a valid JSON document, the media type MUST be application/ld+json as parsers are waiting for a JSON-LD document.
Also the extension of the context files should be renamed to .jsonld.
When querying context files like https://w3id.org/dfc/ontology/context/context_1.16.0.json or https://cdn.jsdelivr.net/gh/datafoodconsortium/ontology@2.0.0/context/context_1.16.0.json we get a content-type header value of
application/jsoninstead ofapplication/ld+json.Even if a JSON-LD document is a valid JSON document, the media type MUST be
application/ld+jsonas parsers are waiting for a JSON-LD document.Also the extension of the context files should be renamed to
.jsonld.