Skip to content

Commit

Permalink
Use expectContinue
Browse files Browse the repository at this point in the history
  • Loading branch information
slominskir committed Nov 5, 2024
1 parent 0e629b1 commit 5292d4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/jlab/jlog/LogItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,7 @@ long performHttpPutToServer() throws LogIOException,

HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create(putUrl))
.expectContinue(true)
.PUT(HttpRequest.BodyPublishers.ofString(xml))
.build();

Expand Down

0 comments on commit 5292d4b

Please sign in to comment.