-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNon-breaking improvements to existing behaviourNon-breaking improvements to existing behaviour
Milestone
Description
Recently in a WebEngine project I've had to work with the uploading of seriously large files.
Allowing POST input larger than a gigabyte seems massively excessive, and has to be done on the php.ini level so can't be controlled per-script.
The solution was to use a PUT request, then fopen("php://input", "r") to deal with the incoming data.
Could this be handled automatically by Input? The FileInput object could expose a getStream method that works under POST and PUT requests, but with PUT the file wouldn't automatically be loaded into memory.
Metadata
Metadata
Assignees
Labels
enhancementNon-breaking improvements to existing behaviourNon-breaking improvements to existing behaviour