This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release. The WebDAV Subscription-Lifetime header is used to specify the lifetime of a subscription in seconds.
Subscription-Lifetime := "Subscription-Lifetime:" 1*DIGIT
The Subscription-Lifetime header is used in a SUBSCRIBE Method request or in a successful 200 (OK) response.
If the time in the request is not accepted by the server, then the server will include the time that it will use in the Subscription-Lifetime header of the 200 (OK) response. If there is no time in the Subscription-Lifetime header of the request, one will be returned in the 200 (OK) response.
The following subscription will be valid for 600 seconds.
SUBSCRIBE /public/subtest HTTP/1.1 Host: www.contoso.com Notification-type: update Subscription-lifetime: 600