[Prev][Next][Index][Thread]

Re: Accept-Charset support



Larry Masinter:
>
># Content-Type: text/html;charset=utf-8
># Content-Features: utf-8-cs="<hebrew>" utf-8-cs="<latin-x>"
>
>There's no real point to this, though. The text/html;charset=utf8
>is enough to tell you how to interpret the body, and the body itself
>will tell you which repertoire(s) are used.

Yes.  Consider the above a bad example.  I should have written:

 Accept-Charset: utf-8
 Accept-Features: utf-8-cs="<hebrew>", utf-8-cs="<latin-x>", *

because we are really talking about how the user agent can make its
capabilities known to the server. 

The content-features header is not really useful.  It is only there for
symmetry with Accept-Features.  Even if it is present in a response, it is
not supposed to list all features used by the content, but only the features
that were negotiated on.  You should be able to know which features to use
by looking at the content itself.

>Larry

Sorry for the confusion,

Koen.


Follow-Ups: References: