setRequestHeader Method (ServerXMLHTTP/IServerXMLHTTPRequest)
Specifies the name of an HTTP header.
Specifies the name of an HTTP header.
HRESULT setRequestHeader(BSTR bstrHeader, BSTR bstrValue);
The header name to set; for example, "depth". This parameter should not contain a colon and should be the actual text of the HTTP header.
The value of the header; for example, "infinity".
The value returned if successful.