Reads an Accept-Language value (RFC 9110 section 12.5.4) — or an
entry's preferredLanguage, which RFC 2798 section 2.7 says has the same
syntax — into tags, best first. A q=0 tag and the wildcard are left out;
a tag that is not well-formed is skipped.
Reads an
Accept-Languagevalue (RFC 9110 section 12.5.4) — or an entry'spreferredLanguage, which RFC 2798 section 2.7 says has the same syntax — into tags, best first. Aq=0tag and the wildcard are left out; a tag that is not well-formed is skipped.