1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove dev exception.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6765 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2007-05-18 06:35:55 +00:00
parent d2ed32d592
commit 83318c7e8a

View file

@ -320,8 +320,6 @@ module ActionController
mime_type = Mime::Type.lookup(content_type)
strategy = ActionController::Base.param_parsers[mime_type]
raise [content_type, content_length, mime_type, ActionController::Base.param_parsers].inspect unless strategy
# Only multipart form parsing expects a stream.
if strategy && strategy != :multipart_form
body = body.read(content_length)