response
HTTP protocol objects > HTTP responses

Next:<response> ( -- response )


Vocabulary
http

Class description
An HTTP response.

Instances contain the following slots:
versionThe HTTP version. Default is 1.1 and should not be changed without good reason.
codeHTTP status code, an integer. Examples are 200 for success, 404 for file not found, and so on.
messageHTTP status message, only displayed to the user. If the status code is 200, the status message might be “Success”, for example.
headerAn assoc of HTTP header values. See HTTP headers
cookiesA sequence of HTTP cookies. See HTTP cookies
content-typean HTTP content type
content-charsetan encoding name
content-encodingan encoding descriptor. See I/O encodings
bodyan HTTP response body


Definition

TUPLE: response
version code message header cookies content-type
content-charset content-encoding body ;


Methods