X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8f299838f756045e2340a38d56a5dfe99d3f6196..bd2c64876f7ddc99da14ea78a652f797e17134f4:/nominatim/api/v1/server_glue.py?ds=sidebyside diff --git a/nominatim/api/v1/server_glue.py b/nominatim/api/v1/server_glue.py index 43cc6e56..865e1331 100644 --- a/nominatim/api/v1/server_glue.py +++ b/nominatim/api/v1/server_glue.py @@ -185,7 +185,7 @@ class ASGIAdaptor(abc.ABC): """ Return the accepted languages. """ return self.get('accept-language')\ - or self.get_header('http_accept_language')\ + or self.get_header('accept-language')\ or self.config().DEFAULT_LANGUAGE