Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
WebClientException should allow access to status code of the response [SPR-15824] #20379
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
Referenced from: commits 5394cc0