> Is the following format of Accept-Language header allowed ?
>
> Accept-Language: en_US
The ABNF doesn't allow it (underscore should be dash). RFC 3261
references RFC 2616; RFC 2616 section 3.10 discusses the language tags.
Accept-Language = "Accept-Language" HCOLON
[ language *(COMMA language) ]
language = language-range *(SEMI accept-param)
language-range = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) / "*" )
ALPHA = %x41-5A / %x61-7A ; A-Z / a-z
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors