Closed vincent-dm closed 2 years ago
The fn at http.async.client.cert/load-embedded-resource crashes because it tries to cast a resource to a java.io.File instance.
http.async.client.cert/load-embedded-resource
java.io.File
Instead, an input stream could be created using the simple (clojure.java.io/input-stream (clojure.java.io/resource resource-path)).
(clojure.java.io/input-stream (clojure.java.io/resource resource-path))
The fn at
http.async.client.cert/load-embedded-resource
crashes because it tries to cast a resource to ajava.io.File
instance.Instead, an input stream could be created using the simple
(clojure.java.io/input-stream (clojure.java.io/resource resource-path))
.