# File lib/mongrel/handlers.rb, line 284 284: def process(request, response) 285: accepts = request.params[HTTP_ACCEPT_ENCODING] 286: # only process if they support compression 287: if @always_deflate or (accepts and (accepts.include? "deflate" and not response.body_sent)) 288: response.header["Content-Encoding"] = "deflate" 289: response.body = deflate(response.body) 290: end 291: end