ActionDispatch::Request raw_put


We have created a REST API with Rails and for debugging we’re logging all requests with raw input and I ran into an issue with PUT requests.

raw_post is great for returning raw POST data. But there is no such alternative for PUT requests. I got around this issue by rewinding request.body and reading it again for logging, but it would be nice for convenience if there was raw_put alongside raw_post.

Thanks in Advance,