- response-port RESPONSEprocedure
- response-code RESPONSEprocedure
- response-reason RESPONSEprocedure
- response-class RESPONSE-OR-CODEprocedure
- response-major RESPONSEprocedure
- response-minor RESPONSEprocedure
- response-headers RESPONSEprocedure
- response-status RESPONSE-OR-CODEprocedure
An existing response can be picked apart using these accessors.
The PORT, MAJOR, MINOR and HEADERS are the same as for requests. CODE and REASON are an integer status code and the short message that belongs to it, as defined in the spec (examples include: 200 OK, 301 Moved Permanently, etc). CLASS is the major class of the response code (100, 200, 300, 400 or 500). response-class can be called either on a response object or directly on a response code number.
response-status attempts to fetch the symbolic status from the response object based on its response code. If no matching symbol can be found in the http-status-codes parameter, an exception is thrown. response-status can also be called on a response object or directly on a response code number.