Skip to content

Commit

Permalink
Ensure that media type parameters are not used.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Dec 17, 2023
1 parent 97a0e74 commit 698bdf7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4535,7 +4535,7 @@ <h3>Verification</h3>
a <a>conforming document</a> (object <var>document</var>)
</li>
<li>
a media type (string <var>mediaType</var>), including any media type parameters
a media type (string <var>mediaType</var>)
</li>
<li>
zero or more warnings (array of <a>ProblemDetails</a> <var>warnings</var>)
Expand Down Expand Up @@ -4577,6 +4577,15 @@ <h3>Verification</h3>
</ol>
</li>
<li>
Ensure that the <var>result</var>.<var>mediaType</var> value is either
`application/vc+ld+json` or `application/vp+ld+json` and does not contain any
media type parameters, as defined in [[RFC6838]]. If the checks fail, set
<var>result</var>.<var>status</var> to `false`, and add at least one <a
href="#MEDIA_TYPE_ERROR">MEDIA_TYPE_ERROR</a> to
<var>result</var>.<var>errors</var>. Other warnings and errors MAY be included
to aid any debugging process. Return <var>result</var>.
</li>
<li>
Ensure that the <var>result</var>.<var>document</var> is a
<a>conforming document</a>. If it is not, set
<var>result</var>.<var>status</var> to `false`, remove the
Expand Down

0 comments on commit 698bdf7

Please sign in to comment.