restify/node-restify

Gzip plugin prevents text/event-stream from working

Open

#820 建立於 2015年6月2日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)JavaScript (983 fork)batch import
BugCriticalHelp WantedUnconfirmed

倉庫指標

Star
 (10,695 star)
PR 合併指標
 (平均合併 3小時 56分鐘) (30 天內合併 2 個 PR)

描述

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.

貢獻者指南