spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column50


Using JavaScript in HomeSite 4.0, Part III

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

The HTTPProvider Object's Properties, Part III

AuthorizationRequest Read String

Returns the authentication response header field. This field is part of the 401 (Unauthorized) response message. It includes at least one problem that indicates the authentication scheme and parameters applicable to the Request-URI.

DocName Read String

Returns the document name segment from the requested URL.

Location Read String

Returns the response header field which defines the exact location of the resource that was identified by the Request-URI. If there was a redirection at the server, then the final URL of the resource is returned.

Sender Read String

Sets/returns the sender parameter.

Agent Read String

Sets/returns the identification of the client which initializes a request. You can use this property to identify yourself as a client type or to emulate a browser.

Reference Read String

Sets/returns the Referrer request-header field. This field allows the client to specify the address (URI) of the resource from which the Request-URI was obtained. The server can use these URIs to generate list of clients for interest, logging, optimized caching, tracing mistyped links, etc. The Referrer field must not be sent if the Request-URI was obtained from a source that does not have its own URI, such as input from the user keyboard.

NoCache Read-Write Boolean

Sets/returns the NoCache request-header field.

ModifiedSince Read-Write Boolean

Sets/returns the Modified-Since request-header field.

Cookie Read-Write Boolean

Sets/returns the Cookie header element. You can use this property to send a set of client cookies to the server along the HTTP request.

ContentTypePost Read-Write String

Sets/returns the Content-Type entity-header field. This field indicates the media type of the Entity-Body sent to the recipient or, in the case of the HEAD method, the media type that would have been sent had the request been a GET.

MultiThreaded Read-Write Boolean

Sets/returns whether the HTTPProvider uses multithreading when executing HTTP requests.

State Read Enumerated

Returns the state of the HTTPProvider object. The enumerated state values are:

StatusCode ReasonPhrase
0 httpReady
1 httpNotConnected
2 httpConnected (browse)
3 httpDnsLookup
4 httpDnsLookupDone
5 httpWaitingHeader
6 httpWaitingBody
7 httpAborting

http://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business


Created: October 11, 1999
Revised: October 11, 1999

URL: http://www.webreference.com/js/column50/httpprop3.html