Skip to content

Commit

Permalink
Update protocol.html
Browse files Browse the repository at this point in the history
Co-authored-by: Sarven Capadisli <[email protected]>
  • Loading branch information
kjetilk and csarven committed Aug 4, 2021
1 parent 8e407e7 commit 30bdd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol.html
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ <h3 property="schema:name">Writing Resources</h3>

<p>Servers MUST NOT allow HTTP <code>POST</code>, <code>PUT</code> and <code>PATCH</code> to update a container’s containment triples; if the server receives such a request, it MUST respond with a <code>409</code> status code. [<a href="https://github.com/solid/specification/issues/40#issuecomment-573358652" rel="cito:citesAsSourceDocument">Source</a>]</p>

<p>Servers MUST ensure that HTTP <code>If-None-Match</code> header with a value of <code>"*"</code> will prevent an unsafe request method (e.g., <code>PUT</code>, <code>PATCH</code>) from modifying an existing representation of the target resource. A client MAY use this header if it believes that the resource does not have a current representation. [<a href="https://github.com/solid/specification/issues/108#issuecomment-567272797" rel="cito:citesAsSourceDocument">Source</a>] [<a href="https://github.com/solid/specification/issues/40#issuecomment-566995240" rel="cito:citesAsSourceDocument">Source</a>]</p>
<p class="note" role="note"><span>Note:</span>Clients are encouraged to use the HTTP <code>If-None-Match</code> header with a value of <code>"*"</code> to prevent an unsafe request method (e.g., <code>PUT</code>, <code>PATCH</code>) from inadvertently modifying an existing representation of the target resource when the client believes that the resource does not have a current representation. [<a href="https://github.com/solid/specification/issues/108#issuecomment-567272797" rel="cito:citesAsSourceDocument">Source</a>] [<a href="https://github.com/solid/specification/issues/40#issuecomment-566995240" rel="cito:citesAsSourceDocument">Source</a>] [<a href="https://github.com/solid/specification/pull/292" rel="cito:citesAsSourceDocument">Source</a>]</p>

<p>Servers MAY use the HTTP <code>ETag</code> header with a strong validator for RDF bearing representations in order to encourage clients to opt-in to using the <code>If-Match</code> header in their requests.</p>
</div>
Expand Down

0 comments on commit 30bdd72

Please sign in to comment.