Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-15978

RestTemplate doesn't consistently tolerate unknown HTTP status codes

    Details

    • Last commented by a User:
      true

      Description

      I'm really sorry, I fill confused about this, but as listed here we are enable to handle custom http status codes already... But I'm still getting
      IllegalArgumentException: no matching constant for [230] caused in MessageBodyClientHttpResponseWrapper.hasEmptyMessageBody().
      I'm using API that responses 230, 240 codes etc... Can you please provide some example or guide me somewhere I can find the solution?

      Spring Framework version 4.3.11

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                juergen.hoeller Juergen Hoeller
                Reporter:
                darija.radchenko Darija Radchenko
                Last updater:
                Spring Issuemaster
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  40 weeks, 1 day ago