Skip to content

http://schema.org/ (base URL) does not respond with JSON when 'Accept' header is set #289

@kevinpeterson

Description

@kevinpeterson

JSON is not returned when setting the 'Accept' header for the URL http://schema.org/.

This can be reproduced here:
curl -H "Accept:application/ld+json" https://schema.org/ -I
which returns a response with:
Content-Type: text/html

This seems to be just the base URL. Other schema.org URLs return JSON, such as:
curl -H "Accept:application/ld+json" https://schema.org/docs/jsonldcontext.json -I

This is causing some tests to fail, such as:
com.github.jsonldjava.core.DocumentLoaderTest#loadDocumentSchemaOrg

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions