Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Specifies the name of an HTTP header.
Syntax
oXMLHttpRequest.setRequestHeader(bstrHeader, bstrValue)
Parameters
- bstrHeader
- String. 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
- String. Value of the header; for example, "infinity".
Remarks
If another header already exists with this name, it is replaced.
Applies To
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.