Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write body to stream when not using a TempFile #98

Closed
wants to merge 1 commit into from
Closed

Write body to stream when not using a TempFile #98

wants to merge 1 commit into from

Conversation

Flink
Copy link

@Flink Flink commented May 15, 2012

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 :)

@travisbot
Copy link

This pull request passes (merged c0b6481 into 7af141b).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception in response
3 participants