Steve Loughran created SLIDER-881:
-------------------------------------
Summary: REST clients to react to text/plain & text/html
responses with meaningful errors
Key: SLIDER-881
URL: https://issues.apache.org/jira/browse/SLIDER-881
Project: Slider
Issue Type: Sub-task
Components: Web & REST
Affects Versions: Slider 0.80
Reporter: Steve Loughran
Assignee: Steve Loughran
When a REST call returns text/plain or text/html, Jersey triggers a "no handler
for this mime type" message, which is then interpreted as a REST client
problem. It's not: its at the far end or in the RM proxy.
Ideally jersey can be set up to handle these responses specially. Otherwise the
error escalation could at least recognise the string (ugly) and raise an error
message saying "point your browser at the far end"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)