Greetings!

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,
-Antti

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to