v.3.9.0¶
Improvements:¶
[LUNA-6249] The service allows store an arbitrary files as object now. Following object types was allowed for storing before: json, text, zip, pdf.
The service accepts two request for storing a file: POST:/buckets/{bucket}/objects or PUT:/buckets/{bucket}/objects/{object_id}. The file bytes should be set as request body and Content-Type header should be contains a file mimetype.
See put object, create object, get object.
[LUNA-6249] A request response to resource GET:/buckets/{bucket}/objects/{object_id} contains Content-Disposition header now. This header contains an attachment object filename. This feature allows browsers to save objects to PC as files with correct extensions. Filename is generated based on object_id and object mimetype.
See get object.
[LUNA-6249] An Accept header is ignored for a request GET:/buckets/{bucket}/objects/{object_id} now. Service returned error 12023, Content type is unacceptable with status code 406 before if object content type did not match with an object mimetype.
See get object.
Migration:¶
See a migration manual.