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