Skip to main content

Bug Tracker

Side navigation

#11250 closed bug (invalid)

Opened January 28, 2012 04:58PM UTC

Closed January 28, 2012 05:10PM UTC

Language Header not the same after AJAX/POST

Reported by: mse@zolid.eu Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
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);

});

Attachments (0)
Change History (2)

Changed January 28, 2012 05:08PM UTC by anonymous comment:1

Changed January 28, 2012 05:10PM UTC by dmethvin comment:2

resolution: → invalid
status: newclosed

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.