puma/puma — pull request #98 by Flink (2012-05-15 12:59:23+00:00)
Title: Write body to stream when not using a TempFile

Since fix #79 (and v1.2.2), puma breaks file uploads in my apps. I’ve tested with rails 3.2.3, carrierwave and devise. Every time I try to send a file via a form, all the related informations are lost and the request is transformed to a POST (instead of a PUT for example).

I just added `stream.write body` after the test as it were done before fix, without touching anything else. It now works great in my apps, and test suite is still green :)