Files
python-glanceclient/glanceclient
Unmesh Gurjar 30d8e1b97c Specified Content-Length in update request header
While uploading a Volume to an image, the HTTPConnection's request method does
not set the Content-Length header (since the volume file is a sym link i.e. the
os.fstat call returns a st_size of 0). This causes Volume uploads to Glance
fail (since the image data is ignored as no content-length is specified).
Therefore setting the Content-Length from update( ) method if the image data is
provided.

Fixes LP: #1045824

Change-Id: If259fc5a338e3e90214a52b773132ed901691c0f
2012-09-06 00:41:08 -07:00
..
2012-08-13 09:52:29 +00:00
2012-08-21 13:13:09 -07:00
2012-06-04 08:49:26 -07:00
2012-08-10 13:30:13 -07:00
2012-08-13 09:52:29 +00:00