Multilingual.RedirectIncoming (multilingual v0.1.0)

Summary

Functions

If a request has a "Referer" that is not the current host, we may want to redirect to the user's preferred language, as indicated by the "Accept-Language" header.

Functions

Link to this function

call(conn, opts)

If a request has a "Referer" that is not the current host, we may want to redirect to the user's preferred language, as indicated by the "Accept-Language" header.

Link to this function

nearest_known(locale, redirect_incoming)