Retrieves the values of all the HTTP headers.
strValue = oServerXMLHTTPRequest.getAllResponseHeaders();
var xmlServerHttp = new ActiveXObject("Msxml2.ServerXMLHTTP.5.0"); xmlServerHttp.open("GET", "http://localhost/sample.xml", false); xmlServerHttp.send(); alert(xmlServerHttp.getAllResponseHeaders());
strValue = oServerXMLHTTPRequest.getAllResponseHeaders
Dim xmlServerHttp As New Msxml2.ServerXMLHTTP50 xmlServerHttp.open "GET", "http://localhost/sample.xml", False xmlServerHttp.send MsgBox xmlServerHttp.getAllResponseHeaders()
HRESULT getAllResponseHeaders(BSTR *pbstrHeaders);
Each header name/value pair is separated by a combination carriage returnline feed character (vbCrLf in Microsoft® Visual Basic®).
The results of this method are valid only after the send
method has been successfully completed.
To view reference information for Visual Basic, C/C++, or Script only, click the Language Filter button in the upper-left corner of the page.
send Method (ServerXMLHTTP/IServerXMLHTTPRequest) | getResponseHeader Method (ServerXMLHTTP/IServerXMLHTTPRequest) | setRequestHeader Method (ServerXMLHTTP/IServerXMLHTTPRequest)
Applies to: IServerXMLHTTPRequest/ServerXMLHTTP