https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406

discusses the use of 406 for bad accept.

Summary: send something is preferable to sending an error.

YMMV

    Andy

contrast to
https://tools.ietf.org/html/rfc7231#section-6.5.6

SHOULD and MAY. But we don't have a common format to fulfil the SHOULD payload.


On 19/02/2020 13:44, Mikael Pesonen wrote:

Hi,

Fuseki now defaults to content type text/turtle if you request invalid content type with Accept. Would it be useful if Fuseki returned error 400 or 406 instead?

Mikael

Reply via email to