Click to return to the XML (Extensible Markup Language) home page    
XMLHttpRequest getAllResp...     XMLHttpRequest open Metho...     XMLHttpRequest Object    
Web Workshop  |  XML (Extensible Markup Language)

getResponseHeader Method


Retrieves the value of an HTTP header from the response body.

Syntax

strValue = oXMLHttpRequest.getResponseHeader(bstrHeader)

Parameters

bstrHeader
String containing the case-insensitive header name.

Returns

String containing the resulting header information.

Remarks

The results of this method are valid only after the send method has been successfully completed.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
XMLHttpRequest

See Also

getAllResponseHeaders, setRequestHeader



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.