pedestal

zoad 2020-12-23T16:01:53.308200Z

👋 I created a simple application to test the return of a channel as response like this: https://github.com/pedestal/pedestal/blob/master/guides/documentation/service-async.md When I execute the code via lein run-dev and make a curl to the endpoint, it is working fine, returning 200 and the expected body. But when I generate a war and deploy it on Jetty, the endpoint still returns 200 but the body is empty. Do I need to configure something on jetty to make it work?

zoad 2020-12-23T23:29:41.308600Z

I figured out. I had to add <async-supported>true</async-supported> to the web.xml generated.

👍 1