Skip to content

Commit e476d12

Browse files
authored
Merge pull request ceph#58442 from clwluvw/getlocation-contenttype
rgw: add missing content-type for RGWGetBucketLocation Reviewed-by: Casey Bodley <[email protected]>
2 parents 94abd9a + bc7d75a commit e476d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/rgw_rest_s3.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2128,7 +2128,7 @@ void RGWGetBucketLocation_ObjStore_S3::send_response()
21282128
dump_errno(s);
21292129
dump_header(s, "x-rgw-bucket-placement-target",
21302130
s->bucket->get_info().placement_rule.name);
2131-
end_header(s, this);
2131+
end_header(s, this, to_mime_type(s->format));
21322132
dump_start(s);
21332133

21342134
std::unique_ptr<rgw::sal::ZoneGroup> zonegroup;

0 commit comments

Comments
 (0)