Summary
Content negotiation returns text/turtle regardless of the order specified in the Accept header.
Steps to Reproduce
curl -I 'https://example.com/' -H 'Accept: application/ld+json, text/turtle, application/json'
Expected: Content-Type: application/ld+json (first in list)
Actual: Content-Type: text/turtle
Workaround
Request only the desired type:
curl -I 'https://example.com/' -H 'Accept: text/html'
This correctly returns Content-Type: text/html.
Impact
Environment
Summary
Content negotiation returns
text/turtleregardless of the order specified in the Accept header.Steps to Reproduce
Expected:
Content-Type: application/ld+json(first in list)Actual:
Content-Type: text/turtleWorkaround
Request only the desired type:
This correctly returns
Content-Type: text/html.Impact
Environment