- From: Lars G. Svensson via GitHub <sysbot+gh@w3.org>
- Date: Thu, 16 May 2019 17:59:33 +0000
- To: public-dxwg-wg@w3.org
@smrgeoinfo scripsit: > Isn't it valid to include a comma-delimited list as a header parameter value, e.g. `type="text/html, application/xml"` I don't think so. [RFC 8288 ยง3.4.1](https://tools.ietf.org/html/rfc8288#section-3.4.1) says > The "type" attribute, when present, is a hint indicating what the media type of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Type header field of a HTTP response obtained by actually following the link. The type attribute MUST NOT appear more than once in a given link-value; occurrences after the first MUST be ignored by parsers. The ABNF for the type parameter's value is: type-name "/" subtype-name ; see Section 4.2 of [RFC6838] So it does not seem that `type="text/html, application/xml"` is valid. -- GitHub Notification of comment by larsgsvensson Please view or discuss this issue at https://github.com/w3c/dxwg/issues/785#issuecomment-493171022 using your GitHub account
Received on Thursday, 16 May 2019 17:59:35 UTC