gnarroway / hato

An HTTP client for Clojure, wrapping JDK 11's HttpClient
MIT License
380 stars 27 forks source link

Consider custom data readers when coercing Clojure body #46

Closed Andre0991 closed 2 years ago

Andre0991 commented 2 years ago

By default, clojure.edn/read-string does not use *data-readers*. This implies that user-defined data readers will not be used for coercing bodies, and an exception will be thrown if the response contains custom data readers.

Fixes https://github.com/gnarroway/hato/issues/45.

gnarroway commented 2 years ago

thanks a lot!