- Options
OPTIONS
The OPTIONS method is used to obtain detailed information about which communication methods are allowed with a resource. This can be useful to determine which methods can be called on a particular resource and to confirm which search methods are available.
When an OPTIONS request is made it will refer to the Request URI directly.
The response from an OPTIONS request will be contained within the message headers. It will consist of the following information
- Allow: A list of methods that can be performed on the resource, i.e. PROPFIND, COPY
- DASL: A list of available search methods
- DAV: webDAV compliance
Example 1: OPTIONS on a resource
Request
OPTIONS /Example/Files/ HTTP/1.1
Response
Allow: CHECKIN,CHECKOUT,COPY,DELETE,DocmotoRename,GET,HEAD,LOCK,LOGOUT, MKCOL,MOVE,OPTIONS,PROPFIND,PROPPATCH,PUT,REPORT,SEARCH,UNCHECKOUT, UNLOCK,VERSION-CONTROL DASL: <DAV:/basicsearch> DAV: 1,version-control,checkout-in-place
