Skip to content

Commit

Permalink
Revert remove header
Browse files Browse the repository at this point in the history
Signed-off-by: Paulo Lopes <pmlopes@gmail.com>
  • Loading branch information
pmlopes committed Oct 12, 2020
1 parent 4e07c1f commit 4ea2fb3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,9 @@ private void handleSendRequest() {
fail(e);
return;
}
for (String headerName : this.request.headers().names()) {
requestOptions.putHeader(headerName, this.request.headers().get(headerName));
}
multipartForm.headers().forEach(header -> {
requestOptions.putHeader(header.getKey(), header.getValue());
});
Expand Down

0 comments on commit 4ea2fb3

Please # to comment.