Skip to content

W3id context files have incorect media type in the content-type response header #63

Description

@lecoqlibre

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

blockedThis issue can't be worked on atmbugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions