Hi,

Somehow the my ajax proxy doesn't add my custom header to the request. Any idea why not?

Code:
Ext.define('MyApp.store.MenuStore2', {
    extend: 'Ext.data.TreeStore',

    requires: [
        'MyApp.model.DatasetModel',
        'Ext.data.proxy.Ajax',
        'Ext.data.reader.Json'
    ],

    constructor: function(cfg) {
        var me = this;
        cfg = cfg || {};
        me.callParent([Ext.apply({
            storeId: 'MenuStore2',
            model: 'MyApp.model.DatasetModel',
            proxy: {
                type: 'ajax',
                url: 'http://localhost:8080/backend/menu/home',
                headers: 'iv-user : xxxx',
                useDefaultXhrHeader: false,
                reader: {
                    type: 'json',
                    rootProperty: 'home_tree'
                }
            }
        }, cfg)]);
    }
});