Skip to content

Commit d380465

Browse files
committed
Ignore invalid Push-Dont-Notify values
1 parent fbfc5b0 commit d380465

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content.mkd

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

307307
## Expiration
308308

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.
309+
When a client registers or updates 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

311311
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-
A server MUST NOT send notifications to expired subscriptions as chances are high that doing so would cause errors.
313+
A server MUST NOT send a notification to an expired subscription.
314314

315315

316316

@@ -365,6 +365,8 @@ Because URLs are not per se canonical, registration URLs MUST be provided in the
365365

366366
Multiple values can be provided as a list and/or using multiple lines as described in {{Section 5.2 of RFC9110}}. If the asterisk is used, other values MUST NOT be sent.
367367

368+
A server MUST ignore invalid values.
369+
368370
Example 1:
369371

370372
~~~http-message

0 commit comments

Comments
 (0)