View definition

func ResolveAcceptLanguage

Defined in


ResolveAcceptLanguage returns a sorted list of Accept-Language header values.

The results are sorted using the quality defined in the header for each language range with the most qualified language range as the first element in the slice.

See the HTTP header fields specification ( for more details.

ResolveAcceptLanguage is referenced in 1 repository