You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(blob): enforce maximumSizeInBytes client-side for multipart uploads (#1036)
For bodies with a known size (Blob, File, Buffer), check
maximumSizeInBytes before starting the multipart upload. This avoids
creating a multipart upload and uploading parts that will ultimately
be rejected by the server for exceeding the size limit.
Streams are skipped since their size is unknown upfront.
Fixes#873
Co-authored-by: Vincent Voyer <vincent@codeagain.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Enforce `maximumSizeInBytes` client-side for multipart uploads. Bodies with a known size (Blob, File, Buffer) are now checked before the upload starts, avoiding wasted API calls.
0 commit comments