Skip to content

Commit 3326720

Browse files
Justin HenckAcconut
Justin Henck
authored andcommitted
Resolve ambiguities with concatenation behavior
1 parent c6f249e commit 3326720

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

protocol.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -570,10 +570,13 @@ used multiple times to form a final resource.
570570
The Server MUST respond with the `403 Forbidden` status to `PATCH` requests against
571571
a final upload URL and MUST NOT modify the final or its partial uploads.
572572

573-
The response to a `HEAD` request SHOULD NOT contain the `Upload-Offset` header unless
574-
the concatenation has been successfully finished. After successful concatenation, the
575-
`Upload-Offset` and `Upload-Length` MUST be set and their values MUST be equal.
576-
The value of the `Upload-Offset` header before concatenation is not defined.
573+
The response to a HEAD request for a final upload SHOULD NOT contain the `Upload-Offset`
574+
header unless the concatenation has been successfully finished. After successful
575+
concatenation, the `Upload-Offset` and `Upload-Length` MUST be set and their values MUST be
576+
equal. The value of the `Upload-Offset` header before concatenation is not defined for a
577+
final upload.
578+
579+
The response to a HEAD request for a partial upload MUST contain the `Upload-Offset` header.
577580

578581
The `Upload-Length` header MUST be included if the length of the final resource can
579582
be calculated at the time of the request. Response to `HEAD` request against partial

0 commit comments

Comments
 (0)