Sends a pre-flight request to determine whether an actual request with the specified origin, HTTP method and headers can be sent.
Host Style: http://bucketname.ns1.emc.com/
Path Style: http://ns1.emc.com/bucketname/
Origin | required | Indicates the origin of the cross-origin request or pre-flight request |
Access-Control-Request-Method | required | Indicates the HTTP method that will be used in the actual request |
Access-Control-Request-Headers | optional | Comma separated list of HTTP headers which will be sent in the actual request |
The following conditions must be met in order to call this operation.
BaseUrl used in a host-style request URL should be pre-configured using the ECS Management API or the ECS Portal (for example, emc.com in the URL: bucketname.ns1.emc.com).
Namespace corresponding to this bucket should exist
CORS sub-resource must be enabled on the bucket
No Request Payload
Access-Control-Allow-Origin | optional | Origin sent in the pre-flight request. If the origin is not allowed then this header will not be included in the response |
Access-Control-Max-Age | optional | Amount of time, in seconds, that the browser can cache the results of the pre-flight request |
Access-Control-Allow-Methods | optional | HTTP method sent in the pre-flight request. If the method is not allowed, this header will not be included in the response |
Access-Control-Allow-Headers | optional | Comma-separated list of HTTP headers that the browser can send in the request. If the headers specified in the pre-flight request are not allowed, this header will not be included in the response |
Access-Control-Expose-Headers | optional | Comma-separated list of HTTP headers, which the client application can access in response to the actual request |
Response indicating Success or Failure for this operation.