WebPositive doesn't set http_accept_language header
|Reported by:||xray7224||Owned by:||leavengood|
I have noticed that when I changed my locale sites which I know respond to this such as google, bbc, (I think wikipedia automatically does it too) don't with WebPositive on Haiku. I started playing with PHP to see what the browser is sending and while you include the set locale in the user-agent the HTTP_ACCEPT_LANGUAGE which lists languages (ranks them in priority so you can fall back if you don't have translations for x language). The PHP code I used to check this is:
<?php var_dump($_SERVER["HTTP_ACCEPT_LANGUAGE"]); ?>
You can see when you test it with other browsers it lists the languages and I believe most web developers use this to decide what language to provide the website in, something important to those who set their locale to something other than the default language the website provides.