When calling (via GET) e.g. http://localhost:8080/data/read?filename=incipit_demo.xml AND providing an Accept header ('application/json' or 'application/xml') the endpoint returns the requested XML file. However, after doing an OPTIONS request, this same call returns 404.
When calling (via GET) e.g.
http://localhost:8080/data/read?filename=incipit_demo.xml
AND providing an Accept header ('application/json' or 'application/xml') the endpoint returns the requested XML file. However, after doing an OPTIONS request, this same call returns 404.steps to reproduce
curl -i -H "Accept: application/xml" "http://localhost:8080/data/read?filename=nielsen_cnw0131.xml"
returns 200curl -I "http://localhost:8080/data/read?filename=nielsen_cnw0131.xml"
returns 404curl -i -H "Accept: application/xml" "http://localhost:8080/data/read?filename=nielsen_cnw0131.xml"
returns 404(!)