You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe the problem.
As title says my suggestion is to add a per file size limit for multipart forms. Use case:
A user can upload an unlimited number of files with a total size not exceeding 1GB, but each file must be up to 100MB.
Describe the solution you'd like
Add an additional prop to FormOptions. So it can be configured globally:
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
As title says my suggestion is to add a per file size limit for multipart forms. Use case:
A user can upload an unlimited number of files with a total size not exceeding 1GB, but each file must be up to 100MB.
Describe the solution you'd like
Add an additional prop to
FormOptions
. So it can be configured globally:or using
RequestFormLimits
attr[RequestFormLimits(MultipartBodyLengthLimit = 1024 * 1024 * 1024, FileLengthLimit = 1024 * 1024)]
Additional context
No response
The text was updated successfully, but these errors were encountered: