Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox is add 'charset=UTF-8' to the content-type when using AJAX

  • 1 odgovor
  • 21 ima ovaj problem
  • Posljednji odgovor poslao cor-el

more options

I am using XMLHttpRequest to send data to the server, and Firefox is adding 'charser=UTF-8' to the end of the content-type header attribute. I have tried to over write the content-type by adding "mypostrequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");" But 'charser=UTF-8' is still added.

This happened

Every time Firefox opened

All Replies (1)

more options


Please do not post in old topics. If you ned help then create a new post on the MozillaZine Web Development/Standards Evangelism forum. The helpers at that forum are more knowledgeable about web development issues. You need to register at the MozillaZine forum site in order to post at that forum. See