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

asked 2014-01-09 09:26:15 -0500

mmelath gravatar image

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

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-01-17 06:15:22 -0500

mmelath gravatar image

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

edit flag offensive delete link more
0

answered 2014-01-16 10:06:13 -0500

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 : )

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-01-09 09:26:15 -0500

Seen: 245 times

Last updated: Jan 17 '14