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
|
@ -1190,9 +1190,10 @@ var routeDescriptors = []RouteDescriptor{
|
||||||
StatusCode: http.StatusNoContent,
|
StatusCode: http.StatusNoContent,
|
||||||
Headers: []ParameterDescriptor{
|
Headers: []ParameterDescriptor{
|
||||||
{
|
{
|
||||||
Name: "Location",
|
Name: "Location",
|
||||||
Type: "url",
|
Type: "url",
|
||||||
Format: "<blob location>",
|
Format: "<blob location>",
|
||||||
|
Description: "The canonical location of the blob for retrieval",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "Content-Range",
|
Name: "Content-Range",
|
||||||
|
@ -1200,12 +1201,7 @@ var routeDescriptors = []RouteDescriptor{
|
||||||
Format: "<start of range>-<end of range, inclusive>",
|
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.",
|
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.",
|
||||||
},
|
},
|
||||||
{
|
contentLengthZeroHeader,
|
||||||
Name: "Content-Length",
|
|
||||||
Type: "integer",
|
|
||||||
Format: "<length of chunk>",
|
|
||||||
Description: "Length of the chunk being uploaded, corresponding the length of the request body.",
|
|
||||||
},
|
|
||||||
digestHeader,
|
digestHeader,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue