Click to return to the XML (Extensible Markup Language) home page    
IXMLHttpRequest::abort Me...     IXMLHttpRequest::getRespo...     IXMLHttpRequest Interface    
Web Workshop  |  XML (Extensible Markup Language)

IXMLHttpRequest::getAllResponseHeaders Method


Retrieves the values of all the HTTP headers.

Visual Basic Syntax

strValue = oXMLHttpRequest.getAllResponseHeaders

C/C++ Syntax

HRESULT getAllResponseHeaders(
    BSTR *pbstrHeaders);

Parameters

pbstrHeaders
[out] Resulting header information.

C/C++ Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

Each header name/value pair is separated by a combination carriage return-linefeed character (vbCrLf in Visual Basic).

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

See Also

getResponseHeader, 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.