oauth/oauth-ruby — pull request #62 by fsaravia (2012-10-03 15:50:57+00:00)
Title: Implement method body on RackRequest

When using Sinatra with oauth-ruby, the signature module, the request proxy created by OAuth::Signature.build is an instance of RackRequest which has not implemented the method body, so calling signature.body_hash fails with NoMethodError.

I am implementing the missing method which reads the request object of Rack::Request and rewinds it to be used by other methods as well