RubyGems Navigation menu

rack-methodoverride-with-params 1.0.0

Rack::MethodOverride only checks the X-Http-Method-Override header and the form encoded post body for _method. Rack::MethodOverrideWithParams checks both of those _and_ the query params. So, if you POST xml with a url like http://example.com/?_method=delete the application will see it as a delete request.

Gemfile
          gem 'rack-methodoverride-with-params', '~> 1.0.0'
  
  
  
  
  
  
  

install
          gem install rack-methodoverride-with-params
  
  
  
  
  
  
  

Total downloads 15,887

For this version 15,887

Required Ruby Version: None

Links:

Versions:

  1. 1.0.0 - September 28, 2010 (5.5 KB)

Runtime Dependencies:

Development Dependencies: