[#239] Fix issue with clj-http-lite
This commit is contained in:
parent
6edb3b91f8
commit
0713038457
2 changed files with 15 additions and 2 deletions
|
|
@ -13,5 +13,15 @@ export BABASHKA_CLASSPATH=$(clojure -Sdeps '{:deps {clj-http-lite {:git/url "htt
|
||||||
|
|
||||||
(prn (:status (client/post \"https://postman-echo.com/post\")))
|
(prn (:status (client/post \"https://postman-echo.com/post\")))
|
||||||
|
|
||||||
(prn (:status (client/put \"https://postman-echo.com/put\")))
|
(prn (:status (client/post \"https://postman-echo.com/post\"
|
||||||
|
{:body (json/generate-string {:a 1})
|
||||||
|
:headers {\"X-Hasura-Role\" \"admin\"}
|
||||||
|
:content-type :json
|
||||||
|
:accept :json})))
|
||||||
|
|
||||||
|
(prn (:status (client/put \"https://postman-echo.com/put\"
|
||||||
|
{:body (json/generate-string {:a 1})
|
||||||
|
:headers {\"X-Hasura-Role\" \"admin\"}
|
||||||
|
:content-type :json
|
||||||
|
:accept :json})))
|
||||||
"
|
"
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,10 @@
|
||||||
(cond (instance? java.nio.file.Path v)
|
(cond (instance? java.nio.file.Path v)
|
||||||
java.nio.file.Path
|
java.nio.file.Path
|
||||||
(instance? java.lang.Process v)
|
(instance? java.lang.Process v)
|
||||||
java.lang.Process)))))
|
java.lang.Process
|
||||||
|
;; added for issue #239 regarding clj-http-lite
|
||||||
|
(instance? java.io.ByteArrayOutputStream v)
|
||||||
|
java.io.ByteArrayOutputStream)))))
|
||||||
|
|
||||||
(def class-map (gen-class-map))
|
(def class-map (gen-class-map))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue