Modify ↓
Ticket #11250 (closed bug: invalid)
Language Header not the same after AJAX/POST
| Reported by: | mse@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
when I echo the HTTP_ACCEPT_LANGUAGE directly in my browser it says "da-DK". But when I send an AJAX/POST to the server, the header it receives is just "da"
this is an example of how my jquery .post code looks like: $.post("whatever.php", {action : 'check-login'}, function(data){
console.log(data);
});
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

I have asked on StackOverflow, the URL to the post is: http://stackoverflow.com/questions/9047075/http-accept-language-header-ie8