User Guide
288 Chapter 15 Scripting the Visual Tools Object Model
HTTPProvider object
The HTTPProvider object is a general purpose HTTP protocol object. You can use it
in VTOM scripts for low-level HTTP operations. The HTTPProvider object is an
alternative to simplified HTTP-related methods, such as the GetURL method of the
main Application object, which has a limited number of customizable HTTP
parameters. Using the
HTTPProvider object, you can initialize specific HTTP
provider properties (such as Proxy, ProxyPort, Username, Password), and execute
GET, POST, and HEAD HTTP method requests. For detailed information on many of
the properties in this section, see http://www.w3.org/Protocols/http://www.w3.org/
Protocols//a .
Properties
Agent
Syntax Agent: OleVariant
Description Sets and gets the identification of the client that initiates a request. Use this property
to identify yourself as a client type or emulate a browser.
AuthorizationRequest
Syntax AuthorizationRequest: OleVariant (read-only)
Description The WWW-Authenticate response-header field. The 401 (unauthorized) response
messages include this field. The field value consists of at least one challenge that
indicates the authentication scheme(s) and parameters applicable to the
Request-URI.
ContentLength
Syntax ContentLength: Integer (read-only)
Description Specifies the length of the received content stream.
ContentType
Syntax ContentType: OleVariant (read-only)
Description Specifies the MIME content type of the received content stream.
ContentTypePost
Syntax ContentTypePost: OleVariant