Skip to content

Handle tempfiles as well#4

Merged
andrhamm merged 1 commit intoandrhamm:masterfrom
jalkoby:master
Jun 30, 2015
Merged

Handle tempfiles as well#4
andrhamm merged 1 commit intoandrhamm:masterfrom
jalkoby:master

Conversation

@jalkoby
Copy link
Copy Markdown

@jalkoby jalkoby commented Jun 30, 2015

Hi

Sorry to say, but yesterday I've broken this gem. ENV['rack.input'] isn't always StringIO and for a big CONTENT_LENGTH it becomes a Tempfile. That's why using method #string is wrong and it should be replaced by common for both classes #read. Also I've added a specs for that case to prevent this situation in future

andrhamm added a commit that referenced this pull request Jun 30, 2015
Handle tempfiles as well
@andrhamm andrhamm merged commit 769316f into andrhamm:master Jun 30, 2015
@andrhamm
Copy link
Copy Markdown
Owner

👍 released in 0.0.5

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.

2 participants