sets the HTTP request header(s)
values | object | the name-value pairs of header fields |
ajax | the ajax object |
webix.ajax().headers({
'Accept-Encoding': 'gzip',
'Accept-Language': 'en-US'
});
The default header definition is { 'Content-type': 'application/x-www-form-urlencoded' }
.