s->formatter->dump_string("IsTruncated", (max && is_truncated ? "true" : "false"));
bool encode_key = false;
- if (strcasecmp(encoding_type.c_str(), "url") == 0)
+ if (strcasecmp(encoding_type.c_str(), "url") == 0) {
+ s->formatter->dump_string("EncodingType", "url");
encode_key = true;
+ }
if (ret >= 0) {
vector<RGWObjEnt>::iterator iter;
s->formatter->dump_string("IsTruncated", (max && is_truncated ? "true" : "false"));
bool encode_key = false;
- if (strcasecmp(encoding_type.c_str(), "url") == 0)
+ if (strcasecmp(encoding_type.c_str(), "url") == 0) {
+ s->formatter->dump_string("EncodingType", "url");
encode_key = true;
+ }
if (ret >= 0) {
vector<RGWObjEnt>::iterator iter;