Skip to content

Commit

Permalink
Use StreamingHttpOutputMessage.Body.repeatable in OkHttp3ClientHttpRe…
Browse files Browse the repository at this point in the history
…quest

See gh-31449
  • Loading branch information
poutsma committed Oct 24, 2023
1 parent 322013a commit b6e0b8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void writeTo(BufferedSink sink) throws IOException {

@Override
public boolean isOneShot() {
return true;
return !this.body.repeatable();
}
}

Expand Down

0 comments on commit b6e0b8c

Please sign in to comment.