|
The IResponse::AddHeader method adds an HTTP header to the HTTP response.
HRESULT AddHeader(
BSTR bstrHeaderName,
BSTR bstrHeaderValue
);
bstrHeaderName
A binary string that contains the name of the HTTP header.
bstrHeaderValue
A binary string that contains the header value.
This method always adds an HTTP header with the specified value. It will not replace a header with the same name; once a header has been added it cannot be removed.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.