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

Tresoar: Missing Response Headers and multiple entry points #11

Open
sammeltassen opened this issue Sep 23, 2022 · 0 comments
Open

Tresoar: Missing Response Headers and multiple entry points #11

sammeltassen opened this issue Sep 23, 2022 · 0 comments

Comments

@sammeltassen
Copy link
Member

The Tresoar has published IIIF Manifest and IIIF Image links on the object's landing page, see eg:

The site runs on ContentDM but both URLs have been proxied, cf:

The IDs of the IIF Manifests and info.jsons are those from ContentDM. The content of the manifests is the same. The info.jsons differ: profile level is different, and specifications are missing in the Tresoar version.

Main issue (other than the duplicate files):

  • The Tresoar versions cannot be fetched due to missing CORS headers or lack of server response (?)

Response on test-cors.org for the Tresoar Manifest and info.json:

Fired XHR event: loadstart
Fired XHR event: readystatechange
Fired XHR event: error
XHR status: 0
XHR status text: 
Fired XHR event: loadend

From the IIIF Presentation API 2.1.1 documentation:

The HTTP server should, if at all possible, send the Cross Origin Access Control header (often called “CORS”) to allow clients to download the manifests via AJAX from remote sites. The header name is Access-Control-Allow-Origin and the value of the header should be *.

And IIIF Image API 2.0 documentation:

Servers should send the Access-Control-Allow-Origin header with the value * in response to information requests. The syntax is shown below and is described in the CORS specification. This header is required in order to allow the JSON responses to be used by Web applications hosted on different servers.

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

1 participant