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

[Browser] Support file uploads #34

Closed
adamziel opened this issue Oct 14, 2022 · 1 comment
Closed

[Browser] Support file uploads #34

adamziel opened this issue Oct 14, 2022 · 1 comment

Comments

@adamziel
Copy link
Collaborator

adamziel commented Oct 14, 2022

At the moment, uploading files e.g. in media library isn't supported by the PHP request handler. Here's one way to solve it:

  • Pass the uploaded data blob from the service worker to the WASM worker
  • Create a temporary file in the WASM worker
  • Setup the correct $_FILES entries in the WASM worker
@adamziel adamziel changed the title Support for file uploads Support file uploads Oct 14, 2022
@adamziel adamziel changed the title Support file uploads [Browser] Support file uploads Oct 14, 2022
@adamziel
Copy link
Collaborator Author

Solved by #48. Follow-up work in #49 and #50

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

1 participant