Transfer-encoding: gzip

Ezra Zygmuntowicz
Thu, 08 Mar 2007 19:12:58 -0000

On Mar 8, 2007, at 9:51 AM, Magnus Naeslund wrote:

> Hello!
> What is the simplest way to make merb respond to the client sending
> Accept-Encoding: gzip?
> Just checking if it exists, otherwise I''ll implement it myself.
>
> Regards,
> Magnus


Hey Magnus-

	The easiest way would be to use the mongrel deflate handler. You
would want to add a config option for it and then at the bottom of
merb_server.rb where I mount the mongrel handlers you woudl mount the
deflate handler.


Cheers-

-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- ez at engineyard.com
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)