-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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.