Skip to content

Add Blob and File#19

Merged
jasnell merged 1 commit intomainfrom
add-blob-file
Dec 1, 2022
Merged

Add Blob and File#19
jasnell merged 1 commit intomainfrom
add-blob-file

Conversation

@jasnell
Copy link
Copy Markdown
Contributor

@jasnell jasnell commented Jun 1, 2022

Closes: #17

@andreubotella
Copy link
Copy Markdown
Member

andreubotella commented Nov 3, 2022

The File API spec hasn't been well maintained for some time, and there are a couple long-standing issues where it's known to be broken (such as w3c/FileAPI#43). However, since FormData requires Blob and File, and there's no other way to have files in multipart/form-data (short of actually implementing the serialization or parsing manually), I guess adding them is better than not.

Copy link
Copy Markdown
Contributor

@Ethan-Arrowood Ethan-Arrowood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This are requirements for other things like Fetch. Definitely should be in here

@jasnell jasnell merged commit d8d753c into main Dec 1, 2022
@jasnell jasnell deleted the add-blob-file branch December 1, 2022 21:56
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

Successfully merging this pull request may close these issues.

Blob and File

3 participants