Please sign in to comment.
deflater flushes each chunk of the response
This allows clients to receive streaming response bodies as they're generated by the application, not only when it's ideal for zlib. Space-efficiency is hurt somewhat, but there's no other way to allow this middleware to work without completely breaking otherwise valid applications.
- Loading branch information...
Showing with 43 additions and 2 deletions.