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

WebClientException should allow access to status code of the response [SPR-15824] #20379

spring-projects-issues opened this issue Jul 27, 2017 · 1 comment
in: web type: enhancement


Copy link

spring-projects-issues commented Jul 27, 2017

Simon opened SPR-15824 and commented

The current implementation of the DefaultWebClient and its DEFAULT_STATUS_HANDLER returns a WebClientException if the status code is either a 4xx or a 5xx.

To allow custom retry logic for 5xx errors it would help to have access to the status code from the WebClientException the same way it is supported by the reactor.ipc.netty.http.client.HttpClientException

Affects: 5.0 RC3

Issue Links:

Referenced from: commits 5394cc0

Copy link
Collaborator Author

spring-projects-issues commented Aug 2, 2017

Arjen Poutsma commented

Fixed in 5394cc0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: web type: enhancement
None yet

No branches or pull requests

2 participants