The answer provided by wombleton is close, but the key is that you must set the headers property on the proxy server of the store, and not on the store itself, for example:
Ext.StoreManager.lookup("MyStore").proxy.headers = { foo: "bar" }
The next time you load the repository, the specified headers will be sent with the request.
Robert Mitchell
source share