restify/node-restify

Gzip plugin prevents text/event-stream from working

Open

#820 aberto em 2 de jun. de 2015

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)JavaScript (983 forks)batch import
BugCriticalHelp WantedUnconfirmed

Métricas do repositório

Stars
 (10.695 stars)
Métricas de merge de PR
 (Mesclagem média 3h 56m) (2 fundiu PRs em 30d)

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.

Guia do colaborador