Skip to content

Commit ed2f536

Browse files
committed
fixes
1 parent 1da5fcf commit ed2f536

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

spec/Rest-Binding/rest-update-resource.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,21 @@ Partial Update (PATCH): A PATCH request to the linkset URI (e.g., with applicati
4949

5050
Because a resource's metadata can be modified by multiple actors, preventing concurrent overwrites is critical. To ensure data integrity, LWS servers and clients MUST implement optimistic concurrency control using conditional requests [[RFC 7232](https://datatracker.ietf.org/doc/html/rfc7232)] for all PUT and PATCH operations on a linkset resource.
5151

52-
Server Responsibilities:
52+
Server Responsibilities:
5353

54-
A server MUST include an Etag header in its responses to GET and HEAD requests for a linkset resource.
54+
A server MUST include an Etag header in its responses to GET and HEAD requests for a linkset resource.
5555

56-
Upon a successful PUT or PATCH on the linkset, the server MUST generate a new, unique Etag value for the modified linkset and return it in the Etag header of the response.
56+
Upon a successful PUT or PATCH on the linkset, the server MUST generate a new, unique Etag value for the modified linkset and return it in the Etag header of the response.
5757

58-
Client Responsibilities:
58+
Client Responsibilities:
5959

60-
When modifying a linkset resource, a client MUST include an If-Match header containing the most recent Etag it received for that resource.
60+
When modifying a linkset resource, a client MUST include an If-Match header containing the most recent Etag it received for that resource.
6161

62-
Processing Rules:
62+
Processing Rules:
6363

64-
If the If-Match header value does not match the linkset's current Etag, the server MUST reject the request with a 412 Precondition Failed status code.
64+
If the If-Match header value does not match the linkset's current Etag, the server MUST reject the request with a 412 Precondition Failed status code.
6565

66-
If the If-Match header is missing from a PUT or PATCH request to a linkset URI, the server MUST reject the request with a 428 Precondition Required status code (RFC 6585).
66+
If the If-Match header is missing from a PUT or PATCH request to a linkset URI, the server MUST reject the request with a 428 Precondition Required status code (RFC 6585).
6767

6868
Example (PUT to replace a linkset):
6969

0 commit comments

Comments
 (0)