We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c6e44a commit d11a05dCopy full SHA for d11a05d
http-client/src/main/java/io/avaje/http/client/DHttpClientRequest.java
@@ -365,7 +365,8 @@ public HttpClientRequest body(HttpRequest.BodyPublisher body) {
365
366
@Override
367
public HttpClientRequest body(OutputStreamWriter writer) {
368
- this.body = new OutputStreamBodyPublisher(writer, context.httpClient().executor().orElse(null));
+ this.body =
369
+ new OutputStreamBodyPublisher(writer, context.httpClient().executor().orElseThrow());
370
return this;
371
}
372
0 commit comments