Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

Learn More

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

  • 1 პასუხი
  • 21 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 1 ნახვა
  • ბოლოს გამოეხმაურა cor-el

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

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

ყველა პასუხი (1)

Try http://forums.mozillazine.org/viewtopic.php?p=6318215#p6318215

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 http://forums.mozillazine.org/viewforum.php?f=25