Skip to content

RESUMABLE: Allow client to resume from upload-level 400 errors - #3593

Merged
Acconut merged 2 commits into
mainfrom
resumable-upload/400-upload-complete-false
Nov 23, 2026
Merged

Acconut merged 2 commits into
mainfrom
resumable-upload/400-upload-complete-false

Conversation

@Acconut

@Acconut Acconut commented Nov 20, 2026

Copy link
Copy Markdown
Member

Including Upload-Complete: ?0 on 400 responses that were triggered by violations of resumable upload logic signals that the response didn't come from the resource targeted by the initial request. This allows a client to retry, in theory, if it were to resolve the root cause. However, this isn't done consistently at the moment.

This PR addresses this by mirroring how the draft already handles error responses for requests that include Content-Encoding, for example.

Including Upload-Complete: ?0 on 400 error responses that were triggered
by violations of resumable upload logic signals that the response didn't
come from the resource targeted by the initial request. This allows a
client to retry, in theory, if it were to resolve the root cause.

This mirrors how the draft already handles error responses for requests
that include Content-Encoding, for example. This changes makes the
behavior consistent across the upload-level 4XX responses.
@Acconut
Acconut merged commit c546183 into main Nov 23, 2026
2 checks passed
@Acconut
Acconut deleted the resumable-upload/400-upload-complete-false branch November 23, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants