Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Specifies the name of an HTTP header.
Syntax
HRESULT setRequestHeader( BSTR bstrHeader, BSTR bstrValue);
Parameters
- bstrHeader
- [in] Header name to set; for example, "depth". This parameter should not contain a colon and should be the actual text of the HTTP header.
- bstrValue
- [in] Value of the header; for example, "infinity".
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
If another header already exists with this name, it is replaced.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.