chmouel / upcs

Upload to OpenStack Swift with curl easily
62 stars 13 forks source link

Setting the headers for each file #9

Closed jelk7 closed 11 years ago

jelk7 commented 11 years ago

When uploading each file for the CDN, how can the headers be set?

• Content-Encoding • Content-Disposition • X-Object-Manifest • Access-Control-Allow-Origin • Access-Control-Allow-Credentials • Access-Control-Expose-Headers • Access-Control-Max-Age • Access-Control-Allow-Methods • Access-Control-Allow-Headers • Origin • Access-Control-Request-Method • Access-Control-Request-Headers

chmouel commented 11 years ago

Hello,

There is no such feature in upcs, I have purposely keep upcs lean and just doing one job (uploading one file quickly to a server and get the public url back) if you want to add those feature you better off with a script that's more tailored to your needs.