intridea/grape — pull request #563 by myitcv (2014-01-29 17:57:07+00:00)
Title: Rack expectations test

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`](https://github.com/puma/puma) webserver frontend serving [requests with a large body](https://github.com/puma/puma/blob/master/lib/puma/server.rb#L667-L669)

This test is designed to fail against `rack 1.5.2` - but works against `rack#master` ([`8dc31fec37` at the time of writing](https://github.com/rack/rack/commit/8dc31fec37f6f53a5f0f8e24274da9035abd92b2))