Partager via


DAV Header

Topic Last Modified: 2006-06-13

The WebDAV DAV header specifies whether the resource supports the WebDAV schema and protocol.

DAV = "DAV" ":" "1" ["," "2"] ["," 1#extend]

The value of the DAV header is a list of all compliance classes that the resource supports.

DAV Compliance Classes

To see the compliance classes of a resource, execute the HTTP OPTIONS method on the resource and look at the returned DAV header.

Class 1

A class 1 compliant resource meets all "MUST" requirements in all sections of the RFC 2518 document. Class 1 compliant resources will minimally return the value "1" in the DAV header of all responses to the HTTP OPTIONS method.

Class 2

A class 2 compliant resource meets all class 1 requirements and additionally supports the LOCK Method, the supportedlock Field, the lockdiscovery Field, the Timeout Header and the Lock-Token Header. Class 2 compliant resources will minimally return the values "1" and "2" in the DAV header of all responses to the HTTP OPTIONS method.