You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removes premature body retrieval when content size is greater than zero, ensuring body is only retrieved after async completion. This prevents potential issues with incomplete response bodies in asynchronous scenarios.
Copy file name to clipboardExpand all lines: spring-web-captor/src/main/java/com/davidrandoll/spring_web_captor/publisher/response/CachedBodyHttpServletResponse.java
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,7 @@ public CompletableFuture<byte[]> getResponseBody() throws IOException {
0 commit comments