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
Summary of Contents for HOMESITE
Page 11: ...Contents xi Table of CommandID values 310 Table of SettingID values 314 Glossary 323...
Page 12: ...xii Contents...
Page 20: ...xx About This Book...
Page 28: ...8 Chapter 1 Setting Up the Product...
Page 70: ...50 Chapter 4 Managing Files...
Page 88: ...68 Chapter 5 Writing Code and Web Content...
Page 116: ...96 Chapter 6 Editing Pages...
Page 148: ...128 Chapter 7 Using Web Development Languages...
Page 190: ...170 Chapter 11 Deploying Files...
Page 210: ...190 Chapter 12 Testing and Maintaining Web Pages...
Page 216: ...196 Chapter 13 Extending the Help System...
Page 350: ...330 Glossary...
Page 358: ...338 Index...