Subscription-Lifetime Header

Subscription-Lifetime Header

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.

Syntax

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

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.