mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-23 22:26:01 +00:00
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