mirror of
https://github.com/github/rails.git
synced 2026-01-30 08:48:06 -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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user