Skip to content

Commit 32cdf29

Browse files
committed
bytes() will execute now if the user didn't before
1 parent 97ab73b commit 32cdf29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/javawebstack/httpclient/HTTPRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public int status(){
9292
}
9393

9494
public byte[] bytes(){
95-
if (requestBody == null)
95+
if (responseBody == null)
9696
execute();
9797

9898
return responseBody;

0 commit comments

Comments
 (0)