Get the latest tech news
Who uses Accept-Language header?
Accept-Language header consists of the language preferred by the end-user.
Yelp Home PageI have changed my language settings in Firefox to Japanese (so it's obvious to see the difference) and verified that the request was sending the correct Accept-Language: ja header. The default location was correctly set to a place in Japan, yet the response remained in English, concluded that they don't actually use the header to determine the language to be served. As far as web scraping is concern, it is a good practice to include the common headers in every request: User-Agent, Accept, Accept-Encoding, Accept-Language, Connection, Cache-Control.
Or read this on Hacker News