Skip to content

Commit 114b8c6

Browse files
committed
Better wording for Accept usage.
1 parent bbd3be9 commit 114b8c6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

jsonschema-core.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2946,10 +2946,12 @@ Accept: application/json;
29462946
</t>
29472947

29482948
<t>
2949-
The Accept header also allows repeating the same media type with
2950-
different parameters, which requests that the instance conforms
2951-
to one parameter value or the other. Such an instance can conform
2952-
to all separately specified parameters but is not guaranteed to do so.
2949+
Unlike Content-Type, Accept can contain multiple values to
2950+
indicate that the client can accept several media types.
2951+
In the above example, note that the two media types differ
2952+
only by their schema parameter values. This requests an
2953+
application/json representation that conforms to at least one
2954+
of the identified schemas.
29532955
</t>
29542956

29552957
<t>

0 commit comments

Comments
 (0)