Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-151 Implement full slider API in REST and switch client to it
  3. SLIDER-881

REST clients to react to text/plain & text/html responses with meaningful errors

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Slider 0.80
    • Slider 2.0.0
    • Web & REST
    • None
    • Slider December #1

    Description

      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"

      Attachments

        Activity

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: