Skip to content

Commit

Permalink
Update src/main/java/com/google/devtools/build/lib/bazel/repository/d…
Browse files Browse the repository at this point in the history
…ownloader/HttpConnectorMultiplexer.java

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
  • Loading branch information
thesayyn and fmeum authored Nov 23, 2023
1 parent 2eecc54 commit 8a52342
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public HttpStream connect(
baseHeaders.putAll(REQUEST_HEADERS);

Function<URL, ImmutableMap<String, List<String>>> headerFunction =
getHeaderFunction(baseHeaders.buildOrThrow(), credentials);
getHeaderFunction(baseHeaders.buildKeepingLast(), credentials);
URLConnection connection = connector.connect(url, headerFunction);
return httpStreamFactory.create(
connection,
Expand Down

0 comments on commit 8a52342

Please sign in to comment.