Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
Retrieves the values of all the HTTP headers.
Script Syntax
Copy Code | |
---|---|
strValue = oXMLHttpRequest.getAllResponseHeaders(); |
Remarks
Script Parameters
None.
Script Return Value
String. Contains the resulting header information.
C/C++ Syntax
Copy Code | |
---|---|
HRESULT getAllResponseHeaders( BSTR* pbstrHeaders ); |
Remarks
Parameters
- pbstrHeaders
-
[out, retval] Resulting header information.
C/C++ Return Values
- S_OK
-
Value returned if successful.
- E_INVALIDARG
-
Value returned if the input argument is NULL.
- E_FAIL
-
Value returned if an error occurs.
- E_OUTOFMEMORY
-
Value returned if available memory is insufficient.
Requirements
Header | msxml2.h, msxml2.idl |
Library | uuid.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
General Remarks
Each header name/value pair is separated by a combination carriage return/line feed character.
The results of this method are valid only after the sendmethod has been successfully completed.
This method applies to the following interface: