-
Bug
-
Resolution: Done
-
Major
-
None
-
None
In the ExceptionHandler when the thrown exception does not include a response, the exception is used to create a response. The media type for the response is set to text/html. However, there is not a MessageBodyWriter by default for for type. Therefore the StringStarText provider ends up being used which does not write valid HTML.
We should likely change the default response type to text/plain. The other option is to generate valid HTML as the response. However, we may want to consider formatting the output for known media types. It was concluded that we should change the response media type to text/plain.
- is incorporated by
-
WFLY-19654 Upgrade RESTEasy to 7.0.0.Alpha3
- Resolved
- is related to
-
RESTEASY-3496 RESTEasy 4.x+ missing the resteasy.disable.providers context parameter support
- Resolved
- relates to
-
RESTEASY-3501 The SynchronousDispatcher may send an empty response if a MessageBodyWriter for the exception cannot be found
- Resolved