Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mejackreed opened this issue Oct 23, 2019 · 1 comment
Assignees

Comments

@mejackreed
Copy link

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
@glenrobson
Copy link
Member

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants