[Bug 16303] meaning of "all" charset parameters of content-type header

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

--- Comment #13 from Julian Reschke <julian.reschke@gmx.de> 2012-04-12 09:19:56 UTC ---
(In reply to comment #12)
> I'm not going to leave edge cases undefined.

The problem here is that you assume that UAs use a full-blown Content-Type
parser here (needed to extract proper type and charset information in the first
place), *and* that that parser preserves all the information you want (about
duplicated parameters).

This is not the case right now, and as far as I can tell.

That's why I'm calling this "overspecification".

If you absolutely *want* to handle this case, a much much simpler approach is
to treat it as error and throw an exception.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 12 April 2012 09:20:18 UTC