Skip to content

Commit fbfc5b0

Browse files
committed
Only servers must check for subscription expiration
1 parent 3abd5fa commit fbfc5b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content.mkd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,11 @@ HTTP/1.1 204 Unregistered
306306

307307
## Expiration
308308

309-
A client can specify an expiration date-time when they register a subscription. A server SHOULD take the requested expiration time into consideration, but MAY impose its own (often stricter) expiration rules, for instance to keep their database clean or because the client has specified an implausible late expiration. A server SHOULD allow subscriptions to be valid at least three days. However when the expiration is too far in the future, it becomes more probable that the subscription will become invalid or stale at some time.
309+
When a client registers a subscription, it can request a specific expiration date-time. A server SHOULD take the requested expiration time into consideration, but MAY impose its own (often stricter) expiration rules. A server SHOULD allow subscriptions to be valid at least three days. When the expiration is too far in the future, it becomes more probable that the subscription will become invalid or stale at some time.
310310

311-
A client has to refresh its registrations regularly and before the expiration date to keep them working. It can expect that subscriptions usually stay valid until their expiration, although there may be special circumstances that cause all subscriptions to be reset, like when the server software is changed.
311+
A client has to refresh its registrations regularly and before the expiration to keep them working. It can expect that subscriptions usually stay valid until their expiration, although there may be special circumstances that cause all subscriptions to be reset, like when the server software is changed.
312312

313-
Expired subscriptions MUST NOT be used anymore as chances are high that doing so would cause errors.
313+
A server MUST NOT send notifications to expired subscriptions as chances are high that doing so would cause errors.
314314

315315

316316

0 commit comments

Comments
 (0)