Update api-ref for partial download requests.
Change [1] fixed partial downloads in glance and changed the status codes to be more appropriate. Updating api-ref to reflect what the v2 code will now do. [1] I3cd47b998be79604511b3cd4879209820cf776b7 Change-Id: I70e3f60c3ce3d0eeb7b457496dbbe623b2ff473e
This commit is contained in:
parent
9c7b25d6f8
commit
36a1b7c82e
|
@ -102,16 +102,24 @@ verify the integrity of the image data.
|
|||
- You can download the binary image data in your machine if the
|
||||
image has image data.
|
||||
|
||||
- If image data exists, the call returns the HTTP ``200`` response code.
|
||||
- If image data exists, the call returns the HTTP ``200`` response code for a
|
||||
full image download request.
|
||||
|
||||
- If image data exists, the call returns the HTTP ``206`` response code for a
|
||||
partial download request.
|
||||
|
||||
- If no image data exists, the call returns the HTTP ``204`` (No Content)
|
||||
response code.
|
||||
|
||||
- If no image record exists, the call returns the HTTP ``404`` response code.
|
||||
- If no image record exists, the call returns the HTTP ``404`` response code
|
||||
for an attempted full image download request.
|
||||
|
||||
Normal response codes: 200, 204
|
||||
- For an unsatisfiable partial download request, the call returns the HTTP
|
||||
``416`` response code.
|
||||
|
||||
Error response codes: 400, 403, 404
|
||||
Normal response codes: 200, 204, 206
|
||||
|
||||
Error response codes: 400, 403, 404, 416
|
||||
|
||||
|
||||
Request
|
||||
|
|
Loading…
Reference in New Issue