Repository navigation
FormData: throw when serializing an S3-backed entry instead of sending an empty part #38364
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
Open
robobun
wants to merge
24
commits into
main
Choose a base branch
from
farm/33100eed/formdata-s3-part-throws
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+710
−18
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
ad56e0f
FormData: throw when serializing an S3-backed entry instead of sendin…
robobun a3c33a1
Quote the entry name in the error and cover new File([s3file]) entries
robobun 82ad489
Trim comments in the S3 FormData arm
robobun f110f42
blob: resolve_size leaves an S3 blob's size and slice window untouched
robobun d631127
Body: print the unknown size of an S3 body as 0 in the inspect header
robobun 1394f42
test: share the local S3 endpoint, assert the exact result
robobun e0df286
blob: put the comment on the S3 arm of resolve_size on one line
robobun af22f60
Merge remote-tracking branch 'origin/main' into farm/33100eed/formdat…
robobun 6f331de
Read the entry name through EncodedSlice::to_utf8 after the merge wit…
robobun 51e64d6
s3: leave the size of an S3 blob unknown in resolve_size
robobun 739680a
Merge remote-tracking branch 'origin/main' into farm/33100eed/formdat…
robobun 413bc0f
Merge the resolve_size change of #43934 (an S3 size stays unknown)
robobun c908e63
ci: retrigger
robobun efc5a5a
FormData: keep an empty S3 slice an empty part, throw after the walk
robobun a1b98cf
test: move the S3 header and HEAD tests into body.test.ts
robobun 5f06dcb
test: compare the HEAD and GET lengths with the bytes that GET sends
robobun 987b11d
FormData: throw for the S3 entry after the second walk; docs and tests
robobun 08b437f
Shorten three comments in the FormData serializer
robobun 2a092e3
FormData: keep one failure state, and find the S3 entry by its Blob
robobun fe2e1dd
Carry only the resolve_size hunks, as #46653 has them
robobun f62476d
docs: an empty S3 slice stays a FormData part, and a snippet that typ…
robobun 7e0878f
FormData S3 entry: take the FormData by reference, tighten the tests …
robobun d75d336
Merge the resolve_size change of #46653 with its tests
robobun 56d0ece
ci: retrigger
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.