Skip to content

Commit

Permalink
Allow override of headers applied by default (#2529)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian committed Sep 23, 2023
1 parent d3eda90 commit ef35fc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ private void applyHeaders(Request<?> apiRequest, okhttp3.Request.Builder builder
if (apiRequest.getHeaders() != null)
{
for (Entry<String, String> header : apiRequest.getHeaders().entrySet())
builder.addHeader(header.getKey(), header.getValue());
builder.header(header.getKey(), header.getValue());
}
}

Expand Down

0 comments on commit ef35fc5

Please sign in to comment.