-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only flush once startGzip has been called
This fixes #58 and prevents the underlying Flusher from writing the wrong status code or writing headers before Content-Encoding has been set. This is tmthrgd/gziphandler@cb0f3d94c6 with the test case taken from tmthrgd/gziphandler@574da8f22d.
- Loading branch information
1 parent
6c51bf0
commit d6f4660
Showing
2 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters