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.

贡献者指南