My Blog List

Wednesday, June 25, 2008

A List of XHR Methods and Corresponding Definitions

Methods

Definitions

Abort()

Cancels the current HTTP request.

getAllResponseHeaders()

Retrieves the values of all the HTTP headers.

geTResponseHeader("label")

Retrieves the value of a specified HTTP header from the response body.

Open("method", "URL"[, asyncFlag[, "userName"[, "password"]]])

Initializes an MSXML2.XMLHTTP or Microsoft.XMLHTTP request, and specifies the method, URL, and authentication information for the request.

Send(content)

Sends an HTTP request to the server and receives a response.

SetRequestHeader("label", "value")

Specifies the value of an HTTP header based on the label.

No comments: