rack/rack — pull request #282 by cgriego (2011-12-07 00:11:37+00:00)
Title: Handle EOFError exception from malformed multipart in MethodOverride middleware

Rack::Request#POST will raise an EOFError when parsing invalid multipart form data (which Rack::Request#params will handle and ignore), but the MethodOverride middleware, which calls Request#POST, doesn't handle the exception, usually letting it propagate out to the server/handler.