Share via


Subscription-Lifetime Header

Topic Last Modified: 2006-06-13

This topic applies to Exchange 2000 Server SP2 or later.

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.

Example

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