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:
parent
d2ed32d592
commit
83318c7e8a
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue