mirror of
https://github.com/ceph/ceph
synced 2025-01-21 02:31:19 +00:00
Merge pull request #17631 from joke-lee/RGW-CORS-Access-Control-Allow-Origin-HEADER
rgw: return 'Access-Control-Allow-Origin' header when the set bucket versioning through XMLHttpRequest Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
b7e9473e74
@ -962,7 +962,7 @@ void RGWSetBucketVersioning_ObjStore_S3::send_response()
|
||||
if (op_ret)
|
||||
set_req_state_err(s, op_ret);
|
||||
dump_errno(s);
|
||||
end_header(s);
|
||||
end_header(s, this, "application/xml");
|
||||
}
|
||||
|
||||
int RGWSetBucketWebsite_ObjStore_S3::get_params()
|
||||
|
Loading…
Reference in New Issue
Block a user