Table 1. Properties and Methods of the HTTP Object

Property or Method Description
http.abort() Terminates an active server request.
http.getAllResponseHeaders() Retrieves all of the response headers as a single block of text.
http.getResponseHeader( bstrHeader As String) Retrieves the named response header information.
http.onreadystatechange Event that's fired any time the state of the object changes.
http.open( bstrMethod As String, bStrURL As String, [varAsync], [bstrUser], [bstrPassword]) Identifies the URL and connection method (GET, POST, PUT, and so on) where you will be requesting or sending information.
http.readyState Contains a text string that identifies the current state of a transaction. Object is loaded when .readyState="complete".
http.responseBody Contains the raw response data from the server. You should use one of the other response entities for interpreting the data instead.
http.responseStream Converts the responseBody into a binary data stream.
http.responseText Converts the responseBody into a text representation.
http.responseXML Converts the responseBody into an XML document.
http.send([varBody]) Starts the transaction between client and server. You can send information to the server through the varBody parameter.
http.setRequestHeader( bstrHeader As String, bstrValue As String) Sets a particular header with the given value. The headers should correspond to the http1.1 notations.
http.status Integer that contains the numeric error code returned by the server.
http.statusText Text description of the numeric error returned by the server.