-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature: support file uploads #53
Comments
Looks like this is already supported :) Creating a |
I remember a bug in Safari where empty file inputs in AJAX-submitted forms would cause the request to fail. Back then I used this hack to fix the issue. We should test sometime if this problem was solved in recent versions of Safari. Should I create an issue for this? |
Let‘s maybe just reopen this issue to keep track of it? And test in Safari. Could this have to do with XMLHttpRequest instrad of fetch? In any case, let‘s make sure! |
It could, yes! Need a project to test it 😅 |
I think we're safe — looks like the issue was solved in a Safari release in 2018, i.e. it only affects Safari 11 which we currently don't support. |
Describe the problem
We should go ahead and implement file uploads — it's simple enough with
fetch
now.Describe the proposed solution
Append attached files to the request body:
Alternatives considered
Keep recommending to use the API directly for file uploads.
How important is this feature to you?
The text was updated successfully, but these errors were encountered: