简体   繁体   中英

PHP SDK Opencloud/Openstack - How to add X-Storage-Policy in header?

I am using php sdk openstack v1 for opencloud and I would like to know while creating container I want to add custom header for "X-Storage-Policy" then how can i add custom header?

I got the solution, its working by passing metadata argument while creating container. Its done:) Thank you all

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM