HeaderValue

The HeaderValue property returns or sets what the HTTP or HTTPS header values are.

Group:  Web Object

Syntax:  oWeb.HeaderValue(sIndex) = bValue

Alternate:  bValue = oWeb.HeaderValue(sIndex)

bValue        (Boolean) contains a True for False for the success of the HeaderValue assignment.

sIndex        (String) the property name for the HTTP header

Example:

Dim oWeb As Web

oWEB.HeaderValue("Content-Type") = "text/xml; charset=utf-8"

oWEB.HeaderValue("SOAPAction") = """http://xml.namespaces.xerox.com/im /xip/services/xcllmswebservice/wsdl/getDistributionRefurbInfo"""