Skip to content

RESUMABLE: Retrieving the lost final response after a completed upload #3270

@guoye-zhang

Description

@guoye-zhang

The draft currently states that

The server SHOULD keep the upload resource available for a reasonable amount of time after the upload is complete.

However, it does not define a mechanism for retrieving the final response. Interacting with the temporary response would result in a failure with the "completed-upload" problem type.

For a well-behaving client, if the connection is lost before a response is received, it would attempt to perform offset retrieval followed by upload appending. If the server resends the final response for a 0-length complete append, the upload would complete successfully with no additional effort on the client side. If the server is unwilling to keep the final response for resending, I'm not sure if there is a value in keeping the temporary resource available, either.

We can eliminate the "completed-upload" problem type altogether if we allow this.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions