Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jaxrs-dev] Support for Accept-Charset

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

On Apr 14, 2018, at 5:16 AM, Christian Kaltepoth <christian@xxxxxxxxxxxx> wrote:

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@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jaxrs-dev


Back to the top