IIIF / image-validator

Validator for the Image API
http://iiif.io/api/image/validator/
Apache License 2.0
35 stars 20 forks source link

Fix CORS test HTTP headers are non casesensitive #45

Closed greut closed 8 years ago

greut commented 8 years ago

The validator is failing if the server follows the spec.

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.

Access-Control-Allow-Origin: *

http://iiif.io/api/image/2.1/#image-information-request

azaroth42 commented 8 years ago

Thanks @greut!

jpstroop commented 8 years ago

Explains why Loris always failed that test. :+1:

greut commented 8 years ago

But it's wrong...