Bug Tracker

Ticket #11250 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by anonymous

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

comment:2 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Seems like StackOverflow is the best place to solve this, there's no indication it's due to a jQuery bug and no test case was provided.

Note: See TracTickets for help on using tickets.