                              (ByteArrayInputStream. (.decode (Base64/getDecoder) ^String (:body response))))
                            response)
                 ]
-            (clojure.tools.logging/log :info "Got a response. Status code " (:status response))
+            (clojure.tools.logging/log :info (str "Got a response. Status code " (:status response)))
             response
             ))))))
 


(defn http-handler
  [req]
  (clojure.tools.logging/log :info "Incoming request to " (:uri req))
  (if-let [swagger (::swagger @shim-socket)]
    (let [app (make-app swagger)
          resp (app req)]


(defn exec-app
  [op-i req]
  (clojure.tools.logging/log :info (str "Dispatching request to " op-i))
  (let [req2 (dissoc req :swagger)
        req2 (assoc req2 :body (get-in req [:parameters :body]))]
    (let [uuid (.toString (UUID/randomUUID))
