jersey
  1. jersey
  2. JERSEY-1895

Client; Response.getStatusInfo().getReasonPhrase() does not return the actual reason phrase from a http response.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-rc1
    • Fix Version/s: 2.0
    • Component/s: core
    • Labels:
      None

      Description

      Response.getStatusInfo().getReasonPhrase() does not return the actual reason phrase from a http response.

      It seems to return a hard coded valid for the status code, "Bad request" for 400.

      We can however customize the reason phrase when sending responses from a resource, but the client cannot get access to these custom reason phrases.

        Activity

        Hide
        Michal Gajdos added a comment -

        Fixed in 2.0.

        Show
        Michal Gajdos added a comment - Fixed in 2.0.

          People

          • Assignee:
            Michal Gajdos
            Reporter:
            aaronjwhiteside
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: