read-write-web / rww-play

read write web Play
59 stars 19 forks source link

html/rdf return should only use content negotiation #129

Closed bblfish closed 9 years ago

bblfish commented 9 years ago

Problem: Certain linux browsers do not return the HTML+JS resources but the pure RDF @peacekeeper pointed out that the current method of detecting client capabilities with the User-Agent string is unnecessary. One should be able to use the Accept: header of the browser. These should all give / a lower priority to the other mime types. If an RDF mime type is not explicitly stated then it would in such cases have a lower priority to html, and so HTML would be returned as per standard.

bblfish commented 9 years ago

IT turns out that we had this working correctly, and I lost the change by moving from Sesame to Plantain.