-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
This is currently maintained for backward compatibility, and will be
deprecated in the future.
We may want to replace this with request.accept_language.lookup instead.
A potential issue is that at https://github.com/pypi/infra/blob/d5374e6e92f5a09729d649a0a587935d19f2d76f/terraform/warehouse/vcl/main.vcl#L168 we use the language_lookup function, this might behave slightly differently than best_match or slightly differently than lookup (unsure). The former might result in a current bug, and the latter might produce a bug if we use lookup instead, in which the locale we negotiate differs from what we set in VCL.