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:
Yuri Weinstein 2017-09-13 08:20:38 -07:00 committed by GitHub
commit b7e9473e74

View File

@ -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()