StackStorm/st2 — pull request #903 by enykeev (2014-12-16 07:27:40+00:00)
Title: Make stream return headers immediately

Before that change, stream endpoint didn't return anything until either heartbeat or the first event happens. During that time, client wasn't been able say for sure whether connection has been established successfully or there is a problem with CORS or authorization.

Sending an empty message right after the connection has been established initiates the response sequence and triggers the webserver to respond with headers.