Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract files from non-POST request #24

Open
oscarotero opened this issue Apr 10, 2018 · 2 comments
Open

Extract files from non-POST request #24

oscarotero opened this issue Apr 10, 2018 · 2 comments

Comments

@oscarotero
Copy link
Member

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

@ncou
Copy link

ncou commented Jul 12, 2018

Hi,

Looks like a nice middleware idear, why do you think it can't be used in real world ?

@oscarotero
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants