forked from TrueCloudLab/distribution
Update final upload chunk api doc
Updates description about content length and location Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
parent
9898552656
commit
16174241d1
1 changed files with 5 additions and 9 deletions
|
@ -1193,6 +1193,7 @@ var routeDescriptors = []RouteDescriptor{
|
|||
Name: "Location",
|
||||
Type: "url",
|
||||
Format: "<blob location>",
|
||||
Description: "The canonical location of the blob for retrieval",
|
||||
},
|
||||
{
|
||||
Name: "Content-Range",
|
||||
|
@ -1200,12 +1201,7 @@ var routeDescriptors = []RouteDescriptor{
|
|||
Format: "<start of range>-<end of range, inclusive>",
|
||||
Description: "Range of bytes identifying the desired block of content represented by the body. Start must match the end of offset retrieved via status check. Note that this is a non-standard use of the `Content-Range` header.",
|
||||
},
|
||||
{
|
||||
Name: "Content-Length",
|
||||
Type: "integer",
|
||||
Format: "<length of chunk>",
|
||||
Description: "Length of the chunk being uploaded, corresponding the length of the request body.",
|
||||
},
|
||||
contentLengthZeroHeader,
|
||||
digestHeader,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue