XML DOM » HttpRequest » setRequestHeader

Syntax:
object.setRequestHeader(bstrHeader, bstrValue)
bstrValue
The string value of the header. If a header of the same name already exists, it is replaced.
bstrHeader
A string that should be the actual text of the HTTP header without any colon.

This method specifies the name of an HTTP header.