Bug Tracker

Modify

Ticket #11250 (closed bug: invalid)

Opened 2 years ago

Last modified 2 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 2 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 2 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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.