Merge pull request #74 from vonrosen/ari-3943

Fix for https://webarchive.jira.com/browse/ARI-3943
This commit is contained in:
Noah Levitt
2014-06-27 17:00:40 -07:00
@@ -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());
}
}
}