restify/node-restify
View on GitHubGzip plugin prevents text/event-stream from working
Open
#820 opened on Jun 2, 2015
BugCriticalHelp WantedUnconfirmed
Description
I have to call
res.handledGzip && res.handledGzip();
res.removeHeader('Content-Encoding');
in my SSE plugin to bypass the Gzip plugin—otherwise EventSource fails.
The solution would involve adding support for keep alive connection in the Gzip plugin.