Improve message for HttpStatusCodeException with empty status text
This commit improves the message for HttpStatusCodeException so that it
defaults to the HttpStatus reason phrase if a status text is not
provided.
This commit also fixes SimpleClientHttpResponse so that it does not
return null for getStatusText().
Fixed#22162
@ -57,7 +57,8 @@ final class SimpleClientHttpResponse extends AbstractClientHttpResponse {
@@ -57,7 +57,8 @@ final class SimpleClientHttpResponse extends AbstractClientHttpResponse {
@ -82,11 +83,17 @@ public abstract class HttpStatusCodeException extends RestClientResponseExceptio
@@ -82,11 +83,17 @@ public abstract class HttpStatusCodeException extends RestClientResponseExceptio