diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/http/ManagedWebAccessBuilder.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/http/ManagedWebAccessBuilder.java index 5a7f376e1..fdb15e7fc 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/http/ManagedWebAccessBuilder.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/http/ManagedWebAccessBuilder.java @@ -22,8 +22,7 @@ public class ManagedWebAccessBuilder extends ManagedWebAccessBuilderBase newHeaders() { - Map headers = new HashMap(); - headers.putAll(this.getHeaders()); + Map headers = new HashMap(this.getHeaders()); if (getAuthenticationMode() == HTTPAuthenticationMode.TOKEN) { headers.put("Authorization", "Bearer " + getToken()); } else if (getAuthenticationMode() == HTTPAuthenticationMode.BASIC) { @@ -35,7 +34,6 @@ public class ManagedWebAccessBuilder extends ManagedWebAccessBuilderBase