Comment 6 for bug 1619675

Revision history for this message
Cyril Roelandt (cyril-roelandt) wrote :

So apparently, the Content-MD5 field is not always set because of an issue in Pylons:

https://github.com/openstack/glance/blob/master/glance/api/v2/image_data.py#L317

So, if image.checksum is not set, the field will be missing. Could you please post a *complete* code sample (similar to what is in your original post) that I could just chmod +x and run?