rack/rack — pull request #458 by hexfet (2012-11-18 02:51:57+00:00)
Title: Allow EOFError exception to be passed through

The commit https://github.com/rack/rack/commit/5f4bb6022a10cab144e4485e61e842b8d14a7936 prevents Rack::MethodOverride from overriding the HTTP method if a multipart POST request is malformed. However it also consumes the error exception. This pull request restores the behavior of allowing the exception to continue, while ensuring the HTTP method is not overridden.

For Rails, consuming the exception causes the request to still be delivered to the application, but without any request parameters. Depending on the type of error in the multipart body, Rails may or may not log an error.