Fork me on GitHub

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”