[Bug 24673] Make all content type string checks case-sensitive

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24673

--- Comment #2 from Adrian Bateman [MSFT] <adrianba@microsoft.com> ---
I don't think we should make the content type comparisons case-sensitive. I
wouldn't want to have to fail playback simply because someone mis-typed
"Video/mp4" in their code.

RFC6838 defines that top-level type and subtype are case-insensitive and I
think we should follow this.
See http://tools.ietf.org/html/rfc6838#section-4.2

(In reply to David Dorwin from comment #1)
> Regardless of the decision on the above suggestion, we should recommended
> that applications use simple lower-case ASCII strings when possible. Even if
> we can't force case-sensitive comparisons on implementations, this should be
> the most interoperable option.

I am fine with suggesting a non-normative best practice to always use
lower-case ASCII strings if possible.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 21 February 2014 23:23:13 UTC