Class

Rack::Deflater

Inheritance
< Object

Constants

Name   Description
DEFLATE_ARGS = [ Zlib::DEFAULT_COMPRESSION, # drop the zlib header which causes both Safari and IE to choke -Zlib::MAX_WBITS, Zlib::DEF_MEM_LEVEL, Zlib::DEFAULT_STRATEGY

Methods

Class

Visibility Signature
public deflate (body)
public gzip (body, mtime)
public new (app)

Instance

Visibility Signature
public call (env)

Class Method Detail

deflate(body)

Loosely based on Mongrel‘s Deflate handler

gzip(body, mtime)

new(app)

Instance Method Detail

call(env)