Class HttpResponse
Description of an object containing the properties of the HTTP response returned by wget and wpost
Defined in: <global\utilities.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Field Attributes | Field Name and Description |
|---|---|
| <static> |
HttpResponse.contentType
The content type returned by the server, if any.
|
| <static> |
HttpResponse.data
The data returned by the server, if any.
|
| <static> |
HttpResponse.headers
An object containing property names and values corresponding to the headers returned by the server.
|
| <static> |
HttpResponse.status
The status code of the server's response, or an internal status code if connecting to the server failed.
|
| <static> |
HttpResponse.statusInfo
An explanation of the status code if it is an internal code (that is, less than 0)
|
Field Detail
<static>
{string}
HttpResponse.contentType
The content type returned by the server, if any.
<static>
{string}
HttpResponse.data
The data returned by the server, if any.
<static>
{object}
HttpResponse.headers
An object containing property names and values corresponding to the headers returned by the server.
<static>
{number}
HttpResponse.status
The status code of the server's response, or an internal status code if connecting to the server failed.
<static>
{string}
HttpResponse.statusInfo
An explanation of the status code if it is an internal code (that is, less than 0)