XML DOM » HttpRequest » getAllResponseHeaders

Syntax:
object.getAllResponseHeaders()

This method retrieves the values of all the HTTP headers as a string. Each name/value pair is separated by a combination carriage return/linefeed character. The results of this method are only valid after the send method returns successfully.