Skip to content

Commit df01b01

Browse files
committed
Merge branch '6.1.x'
2 parents 69c44de + 6f32ff4 commit df01b01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-web/src/main/java/org/springframework/http/client/ReactorNettyClientResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public InputStream getBody() throws IOException {
8888
}
8989

9090
if (body == null) {
91-
throw new IOException("Could not receive body");
91+
body = InputStream.nullInputStream();
9292
}
9393
this.body = body;
9494
return body;

0 commit comments

Comments
 (0)