Adding capability to take max upload size per request.#188
Adding capability to take max upload size per request.#188nucleussoftwareopen wants to merge 1 commit intoapache:masterfrom
Conversation
|
Hi, thanks for the PR. I'd like to understand, what this is about, or in other words: What is the use case? In my opinion, if there really is a request, that needs special handling: Why not just create another controller? Thanks, Jochen |
|
-1, there should be tests along with new features. |
|
A valid point, Gary, I'll keep that in mind. Besides: Please, rebase. |
|
Hi, Thanks for sharing your thoughts & reviews. |
As of now FileUploadBase has sizeMax which is global for all uploads, in many cases it is required to calculate this limit based on request.
https://stackoverflow.com/questions/16585866/changing-file-size-limit-maxuploadsize-depending-on-the-controller