raw-response
HTTP protocol objects » HTTP responses

Prev:<response> ( -- response )
Next:<raw-response> ( -- response )


Vocabulary
http

Class description
A minimal HTTP response used by webapps which need full control over all output sent to the client. Most webapps can use response instead.

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.
bodyan HTTP response body


Definition

TUPLE: raw-response version code message body ;


Methods