4 ms·
https://tools.ietf.org/html/rfc7231#section-3.1.3.1 https://tools.ietf.org/html/rfc7231#section-3.1.3.1 says that Accept-Language uses a RFC 5646 language tag.
by acdha 11y ago
https://tools.ietf.org/html/rfc7231#section-3.1.3.1 https://tools.ietf.org/html/rfc7231#section-3.1.3.1 says that Accept-Language uses a RFC 5646 language tag. That now says that the three-character ISO 639 codes are valid, although it looks like the two-character versions are preferred when available:
https://tools.ietf.org/html/rfc5646#section-2.2.1 https://tools.ietf.org/html/rfc5646#section-2.2.1
That said, it would be amusing to see how many servers and clients actually support this.