Skip to content

How to resume potentially noncontiguous upload #1

@TheDocTrier

Description

@TheDocTrier

Adapted from Zulip chat since I am not sure where these sorts of questions are supposed to be directed:

I am not sure how the server communicates sufficient information in response to a HEAD request that the client can resume their upload. Specifically steps 2 and 3 of "Segmented document creation with PATCH" does not provide very much detail. Presumably, the server will have a collection of byteranges uploaded so far. In response to an ordinary GET request, the client can receive a multipart/byteranges that allows the client to know exactly which portions of the upload are currently missing. But if they only send a HEAD request, the headers they receive in response would only give metadata about the total multipart/byteranges and would not include the nested headers of the multipart/byteranges which would be needed to know what data is missing. Perhaps I have not been able to put together the other parts of the draft to fill in the gaps here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions