diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/json/parser/JsonParser.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/json/parser/JsonParser.java index 931536548..fa7745cdf 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/json/parser/JsonParser.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/json/parser/JsonParser.java @@ -653,6 +653,7 @@ public class JsonParser { private static byte[] fetch(String source) throws IOException { SimpleHTTPClient fetcher = new SimpleHTTPClient(); + fetcher.addHeader("Accept", "application/json, application/fhir+json"); HTTPResult res = fetcher.get(source+"?nocache=" + System.currentTimeMillis()); res.checkThrowException(); return res.getContent();