restify/node-restify

Gzip plugin prevents text/event-stream from working

Open

#820 ouverte le 2 juin 2015

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)JavaScript (983 forks)batch import
BugCriticalHelp WantedUnconfirmed

Métriques du dépôt

Stars
 (10 695 stars)
Métriques de merge PR
 (Merge moyen 3h 56m) (2 PRs mergées en 30 j)

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.

Guide contributeur