OPTIONS method

The OPTIONS request helps to check the availability of an individual Swift service. The OPTIONS request is handled by the LDR service on a Storage Node or the CLB service on the Gateway Node specified in the URL.

Operation Implementation
OPTIONS method

The OPTIONS method retrieves supported RESTful verbs for the following types of URLs: info URL and storage URL from a StorageGRID Webscale system.

The following request parameter is required:

  • Account

The following request parameters are optional:

  • Container
  • Object

A successful execution returns the following headers with an "HTTP/1.1 204 No Content" response. The OPTIONS request to the storage URL does not require that the target exists.

  • Allow (a list of supported verbs for the given URL, for example, HEAD, GET, OPTIONS, and PUT)
  • Content-Length
  • Content-Type
  • Date
  • X-Trans-Id