Files
glance/glance/api
Abhishek Kekane 62a323aedd Read image size from request header
Image upload and image stage APIs now reads the request header
`x-openstack-image-size` and pass the image size to actual storage
bakend while uploading the image data. This change now also
set image size in the database even before image upload or
staging operation starts. As per backend implementation
if actual image size mismatches with the size proivded in
request header then the process will be aborted and HTTP 400
response will be returned to the user.

Depends-On: https://review.opendev.org/c/openstack/python-glanceclient/+/949787

Implements: blueprint set-size-on-upload

Change-Id: Ib2c282bc19d48361b16fb1b2549cfcab80dea29c
Signed-off-by: Abhishek Kekane <akekane@redhat.com>
2025-08-04 13:37:58 +00:00
..
2025-08-04 13:37:58 +00:00
2023-05-10 12:34:56 +09:00
2024-10-01 06:55:18 -04:00