I have set up a SSE stream resource in my REST API and use the
Authorization header to authorize access to it. However, in tests I'm using
the EventSource class to connect to it and I cannot find any means to send
the Authorization header with it. I also need to send other custom headers,
but there seems to be no way of doing that. Are there any "tricks" to
achieve this?
Thanks,
-- Paul