Skip to content

Rack expectations test #563

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

Closed
wants to merge 1 commit into from
Closed

Rack expectations test #563

wants to merge 1 commit into from

Conversation

myitcv
Copy link
Contributor

@myitcv myitcv commented Jan 29, 2014

Per the description #559, this test demonstrates a bug in rack 1.5.2 whereby params is not correctly populated when rack.input is a Tempfile

rack.input is a Tempfile in various circumstances. In our case it was with a puma webserver frontend serving requests with a large body

This test is designed to fail against rack 1.5.2 - but works against rack#master (8dc31fec37 at the time of writing)

@dblock
Copy link
Member

dblock commented Feb 3, 2014

Thanks for this. We'll lock up with a newer version of Rack when that's available.

@dblock
Copy link
Member

dblock commented Feb 26, 2014

@zuk You will have to pickup a newer version of Rack from HEAD, there hasn't been a release in a long time.

@dspaeth-faber
Copy link
Contributor

1.6.0.beta of rack is out. This issue is solved with this version.

@dblock
Copy link
Member

dblock commented Jan 2, 2015

Grape doesn't lock to a particular Rack version, so now that Rack 1.6.0 has shipped, this works. I committed the test with some minor changes with c72181d.

@dblock dblock closed this Jan 2, 2015
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.

3 participants