HTTPResponse

Represents the HTTP response from the server back to the client.

Members

Functions

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

contentType
string contentType [@property getter]
string contentType [@property setter]

Shortcut to the "Content-Type" header

cookies
DictionaryList!Cookie cookies [@property getter]

All cookies that shall be set on the client for this request

Variables

headers
InetHeaderMap headers;

The response header fields

httpVersion
HTTPVersion httpVersion;

The protocol version of the response - should not be changed

m_cookies
DictionaryList!Cookie m_cookies;
Undocumented in source.
statusCode
int statusCode;

The status code of the response, 200 by default

statusPhrase
string statusPhrase;

The status phrase of the response

Meta