swift client does not allow content type to be specified
Bug #1154621 reported by
Tong Li
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
Fix Released
|
Wishlist
|
Tong Li |
Bug Description
Currently the swift client does not allow specify content type when upload an object. In many cases the client code guess it wrong.
There needs to be an option to allow client to specify content type during the upload of an object
Changed in python-swiftclient: | |
status: | New → Triaged |
importance: | Undecided → Medium |
importance: | Medium → Wishlist |
Changed in python-swiftclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
When uploading binary files using the swift client, the content type is being detected as application/ octet-stream. For large files, 5 GB and above, this has a very negative impact on the download speed since it is pulled with a base64 encoding bloating the network traffic. Being able to set the content-type at upload time with the swift client would address this.