cch1 / http.async.client

Async Http Client - Clojure
http://cch1.github.com/http.async.client
267 stars 40 forks source link

Resources cannot be loaded from Uberjar #86

Closed vincent-dm closed 2 years ago

vincent-dm commented 4 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.

Instead, an input stream could be created using the simple (clojure.java.io/input-stream (clojure.java.io/resource resource-path)).