Skip to content

Commit 173728a

Browse files
authored
enforce media type
1 parent 48c244e commit 173728a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

draft-ietf-oauth-status-list.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ Content-Type: application/statuslist+jwt
657657

658658
## Status List Response {#status-list-response}
659659

660-
In the successful response, the Status List Provider MUST use the following content-type unless known out of band:
660+
In the successful response, the Status List Provider MUST use the following content-type:
661661

662662
- "application/statuslist+json" for Status List in JSON format
663663
- "application/statuslist+jwt" for Status List in JWT format
@@ -929,7 +929,6 @@ The Status List Issuer may chunk its Referenced Tokens into multiple Status List
929929
This specification states no requirements to not mix different formats like a CBOR based Referenced Token using a JWT for the Status List, but the expectation is that within an ecosystem, a choice for specific formats is made.
930930
Within such an ecosystem, only support for those selected variants is required and implementations should know what to expect via a profile.
931931

932-
The return type of a status list should be signaled by media type as described in [](#status-list-response). If no media type was provided and the expected type is not clearly defined the ecosystem, implementations should be robust to parsing errors. In that case, a client MAY attempt to guess the media type via inspection of the response or name extension(s) of the URI.
933932

934933
# IANA Considerations
935934

0 commit comments

Comments
 (0)