Ricky made a comment in redmine that simply request.body.read worked
for him. So I went and read HTTPRequest and indead, body is always a
StringIO or Tempfile, never a string as I thought it might be. Mongrel
also rewinds the IO object for you beforehand so there is no need to
do that in rest.rb.

Scratch this patch and look at the ticket for the fix and the tests.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to