$.ajax({
url: 'https://jsonplaceholder.typicode.com/users',
method: 'GET',
dataType: 'json',
success: function (data, status, jqXHR) {
console.log(jqXHR.getAllResponseHeaders());
// или jqXHR.getResponseHeader('location') (если такой header есть)
}
});
// pragma: no-cache
// content-type: application/json; charset=utf-8
// cache-control: public, max-age=14400
// expires: Mon, 19 Nov 2018 11:10:53 GMT