Get/Put/Delete the cross origin resource sharing configuration information for a bucket.
get_cors(bucket, ...)put_cors(bucket, ...)
delete_cors(bucket, ...)
Character string with the name of the bucket, or an object of class “s3_bucket”.
Additional arguments passed to s3HTTP
.
For get_cors
: A list with cors configuration and rules. For delete_cors
: TRUE
if successful, FALSE
otherwise.
API Documentation: PUT cors API Documentation: GET cords API Documentation: DELETE cors