In DefaultClientResponse::createException, instead of "converting" the response body into DataBuffers and turning those in a byte array , we should use the ByteArrayDecoder which does that in a single step.

Comment From: KimJejun

Hi there.

I have a problem on 5.3.13 version. Can u check this question?

https://stackoverflow.com/questions/70691486/spring-webclient-getresponsebodyasstring-is-emptyover-spring-5-3-13

Comment From: MrJonniK

Hi there.

I have a problem on 5.3.13 version. Can u check this question?

https://stackoverflow.com/questions/70691486/spring-webclient-getresponsebodyasstring-is-emptyover-spring-5-3-13

I faced the same problem. I get an empty response body in WebClientResponseException since version 5.3.13