This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix: send blobs when running ipfs-http-client in the browser #3184
Merged
Commits on Jul 20, 2020
-
fix: normalise add input to blob in the browser
To support streaming of native types with no buffering, normalise add input to async iterators in node and Blobs in the browser. That is, if the user passes a blob in the browser leave it alone as enumerating blob contents cause the files to be read. Browser FormData objects do not allow you to specify headers for each multipart part which means we can't pass unixfs metadata via the headers so we turn the metadata into a querystring and append it to the field name for each multipart part as a workaround. BREAKING CHANGES: - Removes the `mode`, `mtime` and `mtime-nsec` headers from multipart requests - Passes `mode`, `mtime` and `mtime-nsec` as querystring parameters appended to the field name of multipart requests
Configuration menu - View commit details
-
Copy full SHA for e4a1684 - Browse repository at this point
Copy the full SHA e4a1684View commit details -
Configuration menu - View commit details
-
Copy full SHA for efc443b - Browse repository at this point
Copy the full SHA efc443bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 541b6c2 - Browse repository at this point
Copy the full SHA 541b6c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d6fdb5 - Browse repository at this point
Copy the full SHA 0d6fdb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95b6b8b - Browse repository at this point
Copy the full SHA 95b6b8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f91a2e - Browse repository at this point
Copy the full SHA 5f91a2eView commit details
Commits on Jul 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 634400b - Browse repository at this point
Copy the full SHA 634400bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ae9e77 - Browse repository at this point
Copy the full SHA 9ae9e77View commit details
Commits on Jul 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8352346 - Browse repository at this point
Copy the full SHA 8352346View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4407e45 - Browse repository at this point
Copy the full SHA 4407e45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 044e275 - Browse repository at this point
Copy the full SHA 044e275View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a6d98b - Browse repository at this point
Copy the full SHA 9a6d98bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0e04db - Browse repository at this point
Copy the full SHA d0e04dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 078bd4a - Browse repository at this point
Copy the full SHA 078bd4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8a869c - Browse repository at this point
Copy the full SHA b8a869cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.