Using getResponseHeader with jQuery’s ajax method

jQuery’s ajax method returns a jqXHR object that includes the browser’s XMLHttpRequest object. Using the getResponseHeader method of this object, you can access properties of the HTTP response header.