JavaScript
Data
Run Code
Open in Fiddle
Ext.define(null, { override: 'Ext.data.proxy.Proxy', config: { allowResponseType: true, // <-- could set to false to force this globally }, updateReader: function(reader) { this.callParent([reader]); if (!this.getAllowResponseType()) { delete this.responseType; } } }); Ext.application({ name : 'Fiddle', launch : function() { new Ext.data.Store({ autoLoad: true, proxy: { type: 'ajax', url: 'data1.json', allowResponseType: false, // <-- key prop listeners: { beginprocessresponse: function(store,response) { console.log(response.responseJson); // will be undefined console.log(response.responseText); // will be raw JSON text }, } }, }); } });