Transfer-encoding: gzip
Ezra Zygmuntowicz
ez at engineyard.com
Thu Mar 8 14:12:58 EST 2007
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)
More information about the Merb-devel
mailing list