1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Post時にInternal Server Error with Maximum file multiparts in content reachedとエラーが返る

Posted at

Rails4.2にて。
Rack側でmultipartのfieldの制限が128個とデフォルトではなっている。

下記の設定追加で回避は可能

Rack::Utils.multipart_part_limit = 0

下記のコミット見てみると、どうも仕様的にバグっぽい。
https://github.com/rack/rack/blob/8d21788798b521b97beb10047ebf593ddc0aaed2/lib/rack/utils.rb#L75

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?