a377581951
WebClient exchange requires that the body is consumed. Before this commit there were places where an Exception was thrown without consuming the body if the status was not successful. There was also the potential for the statusCode invocation to throw an Exception of the status code was not defined which would cause a leak. This commit ensures that before the Exception is thrown the body is consumed. It also uses the http status in a way that will ensure an Exception is not thrown. Fixes gh-7293 |
||
---|---|---|
.. | ||
oauth2-client | ||
oauth2-core | ||
oauth2-jose | ||
oauth2-resource-server |