
260
Chapter 14 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/ .
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
Description
Sets and gets the Content-Type entity-header field, which indicates the media type of
the Entity-Body sent to the recipient. For the
HEAD
method, indicates the media type
that is sent if the request is a
GET
.
Содержание COLDFUSION STUDIO 5-USING COLDFUSION 5...
Страница 18: ...xviii About This Book...
Страница 26: ...8 Chapter 1 Setting Up the Product...
Страница 42: ...24 Chapter 2 Configuring Browsers and Servers...
Страница 60: ...42 Chapter 3 Exploring the Workspace...
Страница 100: ...82 Chapter 6 Editing Pages...
Страница 126: ...108 Chapter 7 Using Web Development Languages...
Страница 212: ...194 Chapter 13 Customizing the Development Environment...
Страница 320: ...302 Glossary...