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.

贡献者指南