View definition

func ResolveAcceptLanguage

Defined in github.com/revel/revel/http.go

Description

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 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4) for more details.

ResolveAcceptLanguage is referenced in 1 repository

github.com/revel/revel