Fork me on GitHub
#yada
<
2018-11-10
>
grav14:11:12

How come yada/response-for is only used for tests, and not the implementation itself?

grav14:11:57

Reason I’m asking is that I’m testing a cljs-implementation of (very small parts of) yada, and I’m seeing small differences when testing against a running instance of yada/aleph and response-for.

grav14:11:10

Differences being {:body ""} vs {:body nil} and json vs edn output when requesting with accept: application/json

malcolmsparks14:11:36

Hmm. That's a bug. The response-for should run the whole chain so shouldn't be differences.

grav15:11:10

Also seing a 406 from the server and a 200 from response-for when sending a non-acceptable accept header