Class Mongrel::DeflateFilter
In: lib/mongrel/handlers.rb
Parent: HttpHandler

When added to a config script (-S in mongrel_rails) it will look at the client‘s allowed response types and then gzip compress anything that is going out.

Valid option is :always_deflate => false which tells the handler to deflate everything even if the client can‘t handle it.

Methods

new   process  

Included Modules

Zlib

Constants

HTTP_ACCEPT_ENCODING = "HTTP_ACCEPT_ENCODING"

Public Class methods

Public Instance methods

[Validate]