IIIF/presentation-validator

Potential feature: support custom headers / or Prezi3 headers for urls

mejackreed opened this issue · 1 comments

We currently provide IIIF manifests for v2 at the same URL as the v3 ones. v2 is set by default and v3 can be requested using content negotiation. It would be great if we could use this service and either:

  • automatically send Accept header supported for v3

or

  • provide the ability to send a custom header (I know some implementations want this for language selection)

Example:

v2

curl -v https://purl.stanford.edu/st808xq5141/iiif/manifest

v3

curl -v -H "Accept: application/ld+json;profile=\"http://iiif.io/api/presentation/3/context.json\"" https://purl.stanford.edu/st808xq5141/iiif/manifest

Thanks Jack. It looks like the above Accept header is encouraged here:

https://iiif.io/api/presentation/3.0/#63-responses