If this is a regularly loaded page, I think the HTTP request / response is already completed, so Javascript cannot access this information.
If it's an AJAX call, jQuery has a jqXHR object (documentation here ) that talks about this.
The jQuery XMLHttpRequest (jqXHR) object returned by $ .ajax () from jQuery 1.5 is a superset of the original browser XMLHttpRequest object. For example, it contains the responseText and responseXML properties, as well as the getResponseHeader () method. When the transport mechanism is something other than XMLHttpRequest (for example, a script tag for a JSONP request), the jqXHR object mimics its own XHR functionality where possible.
That way, you can call getResponseHeader() on the returned object in your success call to parse them.
source share