View Full Version : Setting a HTTP header for JsonStore load

6 Oct 2010, 4:23 AM
Is there anyway to set a http header when loading a Ext.data.JsonStore object? I want to be able to send along a "If-None-Match" header in some cases to prevent reloading of data that has not changed.

Is there an easy way to do this?

6 Oct 2010, 4:33 AM
proxy: new Ext.data.HttpProxy({
url: '...',
headers: {
'If-None-Match': '...'

6 Oct 2010, 5:14 AM
Thanks, I think that will do it