cors: CORS

Description Usage Arguments Value

Description

Get/Put/Delete the cross origin resource sharing configuration information for a bucket.

Usage

1
2
3
4
5
get_cors(bucket, ...)

put_cors(bucket, ...)

delete_cors(bucket, ...)

Arguments

bucket

Character string with the name of the bucket.

...

Additional arguments passed to QingHTTP.

Value

For get_cors: A list with cors configuration and rules. For delete_cors: TRUE if successful, FALSE otherwise.


zhangxing-love/QingStorRSDK_0.1 documentation built on May 4, 2019, 10:17 p.m.