Skip to content

Commit 8f8d656

Browse files
committed
Location: absolute URL
1 parent 566682e commit 8f8d656

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content.mkd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ Allowed response codes:
247247
* 403 with precondition `no-supported-trigger` when the request doesn't contain a trigger or when all requested triggers are ignored (because they're not supported)
248248
* other response code with usual HTTP/WebDAV semantics
249249

250-
When a subscription is registered the first time, the server creates a URL that identifies that registration (registration URL) which can be used to remove the subscription. The server MUST send the registration URL in the `Location` header.
250+
When a subscription is registered the first time, the server creates a URL that identifies that registration (registration URL) which can be used to remove the subscription. The server MUST send an absolute, canonical registration URL in the `Location` header.
251251

252252
The server MUST return a HTTP `Expires` header (as defined in {{Section 5.3 of RFC9111}}) in the `IMF-fixdate` format with the actual expiration date on the server, which may be shorter than the expiration requested by the client.
253253

@@ -357,7 +357,7 @@ quoted-registration-url = quoted-string
357357

358358
A server SHOULD NOT send push notifications that are triggered by the requested operation to the subscriptions of the `Push-Dont-Notify` header.
359359

360-
Because URIs are not per se canonical, the URI MUST be provided in the exact form as it was originally provided by the server in the `Location` header.
360+
Because URIs are not per se canonical, the URL MUST be provided in the exact form as it was originally provided by the server in the `Location` header.
361361

362362
Usage of the asterisk value (`*`) requests that the server doesn't send any notifications for the operation.
363363

0 commit comments

Comments
 (0)