From 455934cde5f443b89838090b3446ded83e6ba2c2 Mon Sep 17 00:00:00 2001 From: gered Date: Fri, 4 Jul 2014 19:02:49 -0400 Subject: [PATCH] HL7 FHIR spec actually only requires that servers use the HTTP request "Accept" header to determine response content encoding format --- src/clj_hl7_fhir/util.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj_hl7_fhir/util.clj b/src/clj_hl7_fhir/util.clj index 41f00bb..256e5c0 100644 --- a/src/clj_hl7_fhir/util.clj +++ b/src/clj_hl7_fhir/util.clj @@ -61,6 +61,6 @@ (str))) (defn http-get-json [url] - (-> (http/get url) + (-> (http/get url {:accept "application/json+fhir"}) :body (json/parse-string true))) \ No newline at end of file