angular-poller icon indicating copy to clipboard operation
angular-poller copied to clipboard

Access Response Header on Success

Open cancan101 opened this issue 9 years ago • 1 comments

Is there any way to access the response headers (on success)?

The docs have this comment:

// Error handler: (data, status, headers, config)

cancan101 avatar Apr 07 '15 04:04 cancan101

In my callback I can access the headers via response.headers as follows:

myCallback = function(response) {
  console.log(response.headers);
};

justingrayston avatar May 12 '15 13:05 justingrayston