-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add explicit file length in form data for BLOBs (#156)
* Add explicit file length in form data for BLOBs * Transform Blob into Buffer at beginning to avoid misunderstandings; refactor/clarify method & parameter names * Allow pinning again * Fixed all those Storage bugs, jfc * Upgrade jest * Fix pinning * Don't upgrade npm * add File (polyfill) upload test * add File upload support, fix conditions when to upload, remove transformation to Buffer when uploading Files/Blobs * remove "form-data" dependency * add request error handling * use old blobToBuffer again * fix serialization * revert DEFAULT_API_V2 * Add compatibility with UInt8Array * Add node.js compatibility in blobToBuffer
- Loading branch information
1 parent
3e20a63
commit b86ef88
Showing
8 changed files
with
3,609 additions
and
2,290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.