jQuery and AJAX response header
jqXHR (which is the object jQuery wraps around AJAX requests) have a
getResponseHeader() method, so in the
always() handler (jQuery) or readyState handler (
Bear in mind that if your server also sends a redirect status code (301/ 302) that redirect will be automatically followed, and there's no way to access the intermediate-headers returned.
©2020 All rights reserved.