Skip to content

Commit b7c9acd

Browse files
Update src/oas.md
Co-authored-by: Henry Andrews <andrews_henry@yahoo.com>
1 parent f68a565 commit b7c9acd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/oas.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,7 @@ Note that there are significant restrictions on what headers can be used with `m
18721872

18731873
##### Handling Multiple `contentType` Values
18741874

1875-
When multiple values are provided for `contentType`, deserializing remains straightforward as the part's actual `Content-Type` SHOULD be included as a header of that part and SHOULD match one of the provided `contentType` values.
1875+
When multiple values are provided for `contentType`, deserializing remains straightforward as, per [[RFC 2046]] [Section 5.1](https://datatracker.ietf.org/doc/html/rfc2046#section-5.1) each part will include a `Content-Type` header, or can reasonably be assumed to be `text/plain; charset=US-ASCII`. To ensure interoperability, OAD authors SHOULD ensure that all reasonably expected media types are provided in `contentType`.
18761876

18771877
For encoding and serialization, implementations MUST provide a mechanism for applications to indicate which media type is intended.
18781878
Implementations MAY choose to offer media type sniffing ([[SNIFF]]) as an alternative, but this MUST NOT be the default behavior due to the security risks inherent in the process.

0 commit comments

Comments
 (0)