Open oscarotero opened 6 years ago
Hi,
Looks like a nice middleware idear, why do you think it can't be used in real world ?
Hello.
If you read the "Considerations" section at the end of the article, there's some reasons of why this technique would be problematic.
But if you like the idea and want to work to implement this middleware, that would be great. Just create a new middleware package using this template and I'd happy to add the repo to the middlewares organization.
Here's an article with a nice method to manage files in PUT, etc requests: https://blog.alejandrocelaya.com/2017/03/06/managing-put-requests-with-file-uploads-in-psr-7-and-middleware-php-applications/
Not sure if this can be used in the real world