$.ajaxSetup({
contentType: "application/x-www-form-urlencoded;charset=utf-8",
headers: {
'ConnectionA': 'yes'
},
dataFilter: function (data, type) {
return data;
}
});
In addition to `dataFilter`, there are lifecycle events like `completed`.