Question about Accept-Language

"Szilagyi, Mike" <[email protected]>
Newsgroups gmane.ietf.sip
Message-ID <B043FD61A001424599674F50FC89C2D71D923632CA@ININMAIL.i3domain.inin.com>
In RFC3261, the Accept-Language section defines the headers meaning with a language value present and its meaning when the header is not present.

20.3 Accept-Language

   The Accept-Language header field is used in requests to indicate the
   preferred languages for reason phrases, session descriptions, or
   status responses carried as message bodies in the response.  If no
   Accept-Language header field is present, the server SHOULD assume all
   languages are acceptable to the client.

   The Accept-Language header field follows the syntax defined in
   [H14.4].  The rules for ordering the languages based on the "q"
   parameter apply to SIP as well.

   Example:

      Accept-Language: da, en-gb;q=0.8, en;q=0.7


The grammar for Accept-Language shows the language value as optional:

      Accept-Language  =  "Accept-Language" HCOLON
                              [ language *(COMMA language) ]


What does it mean if the header is present but with an empty language value?

          Accept-Language:

Regards,
Mike

_______________________________________________
Sip mailing list  https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use [email protected] for questions on current sip
Use [email protected] for new developments on the application of sip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.