提交 83318c7e 编写于 作者: J Jeremy Kemper

Remove dev exception.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6765 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 d2ed32d5
......@@ -320,8 +320,6 @@ def parse_formatted_request_parameters(body, content_type, content_length, env =
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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册