The getAllResponseHeaders() function returns the header information of a resource, like length, server-type, content-type, last-modified, etc: