pedestal

jdkealy 2020-08-21T16:21:14.002600Z

How would you conditionally start (start-event-stream my-handler) I would like to inspect the request to make sure that the user is authenticated. If I made a pedestal interceptor that checks for the user and calls (start-event-stream my-handler) inside the interceptor i get, EventSource’s response has a MIME type (“Text/Plain”) that is not “text/event-stream”