openrbg asked: Hi I'm looking for the "correct" way to convert a gzip request body and found this ref - schemes <dot> com/2010/10/13/use-rack-middleware-to-customize-rails-parameter-parser/ -- It appears to be missing from tumblr archive.. I wonder if you could provide another pointer or the content ? -- Appreciate any help you could provide. Robert.

Define this method handle_gzip_params in your ApplicationController and then on any action you wish to properly decode a gzip body you can call handle_gzip_params in a before_filter.

Make sure whoever is g-zipping the body and sending it is doing so with content type ‘gzip/json’. Also make sure they’re only sending json in the body or this will blow up.

Hope that helps. Let me know if you have any questions!