Skip to content

Commit

Permalink
Clarify that HTTP link headers are ignored.
Browse files Browse the repository at this point in the history
Co-authored-by: Gabe <[email protected]>
  • Loading branch information
iherman and decentralgabe authored Aug 17, 2024
1 parent 4c6005d commit f24ddf1
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7221,10 +7221,14 @@ <h2>application/vc</h2>
</p>

<p>
A [[JSON-LD11]] context is expected to be present in the body of the document.
The credential is expected to be a valid
<a href="https://www.w3.org/TR/json-ld11/#dfn-json-ld-document">JSON-LD
document</a>.
The credential is expected to be a valid
<a data-cite="JSON-LD11#dfn-json-ld-document">JSON-LD document</a>.
Credentials served with the "`application/vc`" media type are expected
to have all [[JSON-LD11]] context information, including references to
external contexts, within the body of the document. Contexts linked via a
`http://www.w3.org/ns/json-ld#context` HTTP Link Header
(see <a data-cite="JSON-LD11#interpreting-json-as-json-ld">Section 6.1</a>
of [[JSON-LD11]]) are ignored.
</p>
</section>

Expand Down Expand Up @@ -7280,10 +7284,14 @@ <h2>application/vp</h2>
[=enveloping proof=].
</p>
<p>
A [[JSON-LD11]] context is expected to be present in the body of the document.
The credential is expected to be a valid
<a href="https://www.w3.org/TR/json-ld11/#dfn-json-ld-document">JSON-LD
document</a>.
The presentation is expected to be a valid
<a data-cite="JSON-LD11#dfn-json-ld-document">JSON-LD document</a>.
Presentations served with the "`application/vp`" media type are expected
to have all [[JSON-LD11]] context information, including references to
external contexts, within the body of the document. Contexts linked via a
`http://www.w3.org/ns/json-ld#context` HTTP Link Header
(see <a data-cite="JSON-LD11#interpreting-json-as-json-ld">Section 6.1</a>
of [[JSON-LD11]]) are ignored.
</p>
</section>

Expand Down

0 comments on commit f24ddf1

Please sign in to comment.