diff --git a/protocol.html b/protocol.html index 546bae54..336788dd 100644 --- a/protocol.html +++ b/protocol.html @@ -688,6 +688,40 @@

Notifications

A Solid server MUST conform to the LDN specification by implementing the Receiver parts to receive notifications and make Inbox contents available [LDN].

A Solid client MUST conform to the LDN specification by implementing the Sender or Consumer parts to discover the location of a resource’s Inbox, and to send notifications to an Inbox or to retrieve the contents of an Inbox [LDN].

+ +
+

Inbox Discovery on Client Error

+
+

This section extends the LDN protocol to allow the discovery of the Inbox URL of a target resource on client errors (HTTP responses with 4xx status codes) [RFC7231][LDN].

+ +

Servers who want to advertise the Inbox URL in an HTTP response with a 4xx status code, MUST do only one of the following:

+ + + +

Senders do the following to discover the Inbox URL in an HTTP response with a 4xx status code:

+ + + +

These may be carried out in either order, but if the first fails to result in an Inbox the second MUST be tried.

+ +
+

Discovery example: Client error

+
PUT /article HTTP/1.1
+Host: example.org
+Content-Type: text/html;charset=utf-8
+
+HTTP/1.1 403 Forbidden
+Link: <http://example.org/inbox/> rel="http://www.w3.org/ns/ldp#inbox"
+
Discovering an Inbox in the response of a rejected request.
+
+
+