Here is my AJAX call:
$.ajax({
method: "post",
url: $('#tForm').attr('action'),
contentType: "application/x-www-form-urlencoded;charset=windows-1250",
data: $('#tForm').serialize()
})
But upon request when I check passed headers I can see some default value:
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
How to pass this correctly?