restify/node-restify

Gzip plugin prevents text/event-stream from working

開放

#820 建立於 2015年6月2日

 (7 則留言) (0 個反應) (0 位負責人)JavaScript (983 個分叉)batch import
BugCriticalHelp WantedUnconfirmed

倉庫指標

星標
 (10,695 顆星)
PR 合併指標
 (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.

貢獻者指南