How to set X-newest header when getting an object from swift using jclouds api

Asked by Manoj

I use jClouds API to upload and download data to the swift object store. The version of jClouds api is 1.5.7.
How can I set the "X-newest" header while calling the BlobStore.getBlob(containername, objectname) jClouds api.

Is it possible from jClouds to set this header while trying to retrieve an object from swift?

Is there any other alternative way to set this header (i.e. X-newest) to the value True always. Is there any configuration option in the swift server side to make it true always?

Regards
Manoj

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Manoj
Solved:
Last query:
Last reply:
Revision history for this message
Kun Huang (academicgareth) said :
#1

Is it possible from jClouds to set this header while trying to retrieve an object from swift?

of course possible for jClouds, but I think you should ask this in jClouds community

Is there any other alternative way to set this header (i.e. X-newest) to the value True always. Is there any configuration option in the swift server side to make it true always?

not yet, but that's a very good idea for swift, I will submit it later : )

Revision history for this message
Manoj (mmelath) said :
#2

Thank you for your reply. I could do it using jClouds API.