ICAP_RES_T
Operates on ICAP Response.
This topic lists the expressions that are provided by this class.
-
DATEReturns the contents of the ICAP Date header as text or as a date object. The date formats recognized are: RFC822. Sun, 06 Jan 1980 08:49:37 GMT RFC850. Sunday, 06-Jan-80 9:49:37 GMT ASCTIME. Sun Jan 6 08:49:37 1980
Returns: http_date_t
-
FULL_HEADERReturns the entire ICAP response header (including the terminating \\r\\n\\r\\n)
Returns: text_t
HEADER (text_t header_name)
Returns the contents of the ICAP header specified by the String argument. The header name cannot be longer than 32 characters.
Parameters (expressions not allowed):
header_name- Header Name
Returns: http_header_t
-
IS_CLIENT_ERRORReturns True if response code is 4xx.
Returns: bool_at
-
IS_SERVER_ERRORReturns True if response code is 5xx.
Returns: bool_at
-
IS_SUCCESSFULReturns True if response code is 2xx.
Returns: bool_at
-
SET_COOKIEObtain the ICAP Set-Cookie Header Object from this response.
Returns: http_set_cookie_t
-
STATUSReturns the ICAP response status code.
Returns: num_t
-
STATUS_MSGReturns the ICAP response status message.
Returns: text_t
-
VERSIONReturns the ICAP version.
Returns: http_version_t