Iām using dojo/store/JsonRest
to fetch for some data. But I also need the response headers. How can I access them?
this.transport = new JsonRest({
target: "my/target"
});
this.transport.query({}).then(function(resp) {
debugger; // <- I want to get the response headers here!
})
I tried accessing it by using the this
keyword within the function at debugger time. But that is just the window object.
Is that even possible?