Hi,

How to add header in Ext.Ajax.request?
My Code:
Ext.Ajax.request({
url : 'https://abc/login.form' ,
params : {
'login-form-type' : 'pwd',
'SUBMIT' : 'Logon',
'username' : 'abc',
'password' : 'xyz'
},
headers: {
'User-Agent' : 'Mozilla/5.0',
'Content-Type' : 'application/x-www-form-urlencoded'
},
method: 'POST',
success: function (result, request) {

},
failure: function ( result, request) {

}
});

thanks
dpk