2.2.4.1 Lock Time-out Header

The Lock Time-out header, which uses the Augmented Backus-Naur Form (ABNF), as specified in [RFC2616] section 2.1, is defined as follows:

 MS-LockTimeout-Header = "X-MSDAVEXTLockTimeout" ":" 1#TimeInterval
 TimeInterval = ("Second-" TimeOutVal | "Infinite")
 TimeOutVal = 1*DIGIT

The value of this header is interpreted identically to the Timeout header described in [RFC4918] section 10.7.

The Lock Time-out header is valid on the requests and responses for GET, PUT, and POST with the following meanings:

  • On a request: The number portion of this header specifies the time-out for creating or refreshing the lock. A value of 0 indicates an unlock request.

  • On a response: When included in a response to create or refresh the lock operation, the Lock Time-out header specifies the remaining time for which the lock is valid.

The Lock-Token header MUST be included to unlock or refresh the file, as specified in sections 3.1.5.4 and 3.2.5.2.