mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-23 14:15:47 +00:00
Merge pull request #74 from vonrosen/ari-3943
Fix for https://webarchive.jira.com/browse/ARI-3943
This commit is contained in:
@@ -261,7 +261,7 @@ class FetchHTTPRequest {
|
||||
Map<String, String> uriCustomHeaders = (Map<String, String>) curi.getData().get("customHttpRequestHeaders");
|
||||
if (uriCustomHeaders != null) {
|
||||
for (Entry<String, String> h: uriCustomHeaders.entrySet()) {
|
||||
request.addHeader(h.getKey(), h.getValue());
|
||||
request.setHeader(h.getKey(), h.getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user