Christian,
I see a number of somewhat inconclusive discussions about this issue [1]. I don’t particularly prefer one approach over the other, but if we are going to make a change, we should be certain about it. Moreover, switching to Accept-Charset is likely to introduce a backward compatibility issue for us, which reinforces even more the certainty argument.
Looks like this may require a bit more investigation.
— Santiago
[1] https://stackoverflow.com/questions/7055849/accept-and-accept-charset-which-is-superior
I agree that this aspect is a bit weird in the RFC.
Regarding your question:
What would happen if you have several media types in Accept with charsets and also several charsets listed in Accept-Charset?
Well, the RFC mandates that "Accept-Charset" is used for negotiating the charset. So IMO the charset provided in the media type parameter of "Accept" isn't relevant at all.
Just my 2 cents. :-)
Christian
--
_______________________________________________ jaxrs-dev mailing list jaxrs-dev@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jaxrs-dev
|