Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DefaultResponseErrorHandler.hasError doesn't tolerate unknown status codes [SPR-16108] #20656

spring-issuemaster opened this issue Oct 24, 2017 · 0 comments


Copy link

@spring-issuemaster spring-issuemaster commented Oct 24, 2017

Juergen Hoeller opened SPR-16108 and commented

While the backport for #20529 addressed several issues, it unfortunately missed DefaultResponseErrorHandler.hasError which should simply return false for unknown status codes.

Affects: 4.3.12

Issue Links:

  • #20529 RestTemplate doesn't consistently tolerate unknown HTTP status codes
  • #20918 RestTemplate.ResponseEntityResponseExtractor doesn't tolerate unknown status codes
  • #21971 RestTemplate does not throw exception for custom error codes
  • #21145 DefaultResponseErrorHandler wastes the body of a response with an unknown status

Referenced from: commits d963597, ab19c22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.