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

RestTemplate.ResponseEntityResponseExtractor doesn't tolerate unknown status codes [SPR-16371] #20918

Closed
spring-issuemaster opened this issue Jan 12, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented Jan 12, 2018

Anika Solanka opened SPR-16371 and commented

ResponseEntityResponseExtractor in version 4.3.13 also has a problem with unknown HTTP status codes. It is calling response.getStatusCode() which throws IllegalArgumentException for unknown status codes.


Affects: 4.3.13

Issue Links:

  • #20529 RestTemplate doesn't consistently tolerate unknown HTTP status codes
  • #20656 DefaultResponseErrorHandler.hasError doesn't tolerate unknown status codes
  • #21971 RestTemplate does not throw exception for custom error codes

Referenced from: commits c1bc74c

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