-
Notifications
You must be signed in to change notification settings - Fork 408
Closed
Description
Hi, I might be missing something.
this works:
@(clj-http.client/get "https://www.github.com"
{:async? true}
#(%)
#(%))
but this errors:
@(clj-http.client/request {:url "http://www.google.com"
:method :get
:async? true
:respond #(%)
:raise #(%)})
java.lang.ClassCastException: org.apache.http.impl.nio.client.FutureWrapper cannot be cast to clojure.lang.Associativejava.lang.ClassCastException: org.apache.http.impl.nio.client.FutureWrapper cannot be cast to clojure.lang.Associative
at clojure.lang.RT.assoc (RT.java:823)
clojure.core$assoc__5401.invokeStatic (core.clj:191)
clojure.core/assoc (core.clj:190)
clj_http.client$request_timing_response.invokeStatic (client.clj:1073)
clj_http.client$request_timing_response.invoke (client.clj:1071)
clj_http.client$wrap_request_timing$fn__6094.invoke (client.clj:1083)
Metadata
Metadata
Assignees
Labels
No labels