This commit is contained in:
Hunter Stern
2014-06-27 16:20:42 -07:00
parent 8c7b0fed92
commit 5eade58de4
@@ -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());
}
}
}