-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jordan Curzon wrote: > 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.
So if everyone is happy I'll create a commit from Ricky's patch and Jordan's test fix - or do one of you wish to combine and make available as a single patch or a branch somewhere? The latter means credit is attached to you for the fixes. If so also mark the ticket ready for check-in. Thanks James Turnbull - -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKT/U19hTGvAxC30ARAnluAKCroq6LY5l/pFj5UkIRnS74yXghgwCgmdkb P/Bu3nj/T0YBTMwG4PLam+U= =6HLG -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
