how config swift to add file extention [.jpg, .bmp, etc] in generated url?

asked 2014-11-08 02:26:52 -0500

anonymous user

Anonymous

hi all. we are using swift in our project to store images, but by default generated url in swift dos'not contain file extention (content type) [.jpg, .bmp, etc]. we upload an image and set its content type "image/jpeg"m but generated url like this: sample.com/v1/AUTH_2f9d27c5e2474459b001c8f2c054d077/test/1478155355 we want generated url be like this: sample.com/v1/AUTH_2f9d27c5e2474459b001c8f2c054d077/test/1478155355.jpg

edit retag flag offensive close merge delete