Closed yogsototh closed 6 years ago
Follow up, I've upgraded all my dependencies, in particular clj-http one and it works as expected. Still that behaviour was strange as there was a clear difference between the behaviour in the REPL and in Cider
I'm curious whether you would have gotten the same problem if you started lein repl
the same way CIDER starts it. Generally there should be no difference between evaluating stuff in CIDER and lein repl
.
Since this has been resolved by upgrading, it can be 📕. Feel free to post more info if you find it.
Expected behavior
Launching the tests using clj-http call.
Should return a body.
Actual behavior
When the code is run with
lein test
or in alein repl
it works as expected. But inside cider. I get this error:resumed as:
javax.servlet.http.HttpServletRequest.isAsyncStarted()Z
Full stack trace:
Steps to reproduce the problem
I think simply creating a
compojure-api
route acceptingform-params
and running the call should be enough.Environment & Version information
I use spacemacs (development branch)
0.300.0@25.3.1
on MacOS.Here is the message I get when I make a jack-in:
CIDER version information
Include here the version string displayed when CIDER's REPL is launched. Here's an example:
Emacs version
25.3.1
Operating system
macOS X High Sierra 10.13.3 (17D47)