Andy Seaborne created JENA-1946:
-----------------------------------
Summary: Fuseki error messages
Key: JENA-1946
URL: https://issues.apache.org/jira/browse/JENA-1946
Project: Apache Jena
Issue Type: Improvement
Components: Fuseki
Affects Versions: Jena 3.16.0
Reporter: Andy Seaborne
Assignee: Andy Seaborne
Fuseki error handlers try to set the "reason phrase" (one has a bug in it
whereby the phrase will be null).
HTTP/2 responses do not have a reason phrase.
Browser are reported to ignore any reason phrase.
To prepare for the future, the error handling could change to:
* Use the standard reason phrase / let the system choose.
* Put in a plain text content body with the error message.
* (Future) Put in a JSON object with the error message if there is a standard
object format / JSON-LD schema.
There is no ideal answer here - there is a diverse set of user expectations.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)