Hi all,

I'm quite new to Ceph and Radosgw and we are using Ceph instead of Swift in
our Openstack deployment.

I would like to know if it is possible to return a set of objects in json
format by setting the content type as a header and not as a parameter in
the url.

This works:
curl -i http://{URL}/swift/v1/test?format=json -X GET -H "X-Auth-Token:
{TOKEN}"

This doesn't:
curl -i http://{URL}/swift/v1/test -X GET -H "X-Auth-Token: {TOKEN}" -H
"Content-Type: Application/json"

We tried adding 'rgw_extended_http_attrs = Content-Type' below
[client.radosgw.gateway] section in our ceph.conf file but that also did
not work.

Best regards,
Bruno.
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to