HTTP_REQ_T
Operates on HTTP Request.
This topic lists the expressions that are provided by this class.
BODY (uint i)
Operate as Text on the HTTP response body. The length of the body is equal to the number in the argument. If there aren't enough characters in the body then the entire body is selected.
Parameters``:
i- Body length
Returns: text_t
-
CACHE_CONTROLReturns the HTTP Cache-Control object.
Returns: http_cache_control_t
-
CONTENT_LENGTHReturns the length of the HTTP request as a number.
Returns: http_content_length_t
-
COOKIE(Name/Value List) Returns the contents of the HTTP Cookie header as a name/value list.
Returns: http_cookie_t
-
CS_VSERVERReturns the CS vserver serving the current request.
Returns: vserver_t
-
DATEReturns the contents of the HTTP 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 request header (including the terminating \\r\\n\\r\\n)
Returns: text_t
HEADER (text_t header_name)
Returns the contents of the HTTP 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
-
HOSTNAMEObtain the HTTP Host Name object from this request. If the target hostname is present in the first line of the request then that is selected. Otherwise the value in the last occurrence of the HOST header is selected. Sets the text mode to case insensitive.
Returns: http_hostname_t
-
IS_NTLM_OR_NEGOTIATEReturns TRUE if request is part of NTLM or NEGOTIATE connection
Returns: bool_at
-
IS_VALIDReturns TRUE if the HTTP request is properly formed.
Returns: bool_at
-
LB_VSERVERReturns the LB vserver serving the current request.
Returns: vserver_t
-
METHODReturns the HTTP method.
Returns: http_method_t
-
TRACKINGReturns the HTTP body tracking mechanism.
Returns: http_tracking_e
-
TXIDReturns the HTTP Transaction ID. The value is a function of an internal transaction number, system boot time and system mac address. HTTP.REQ.TXID is same as HTTP.RES.TXID.
Returns: text_t
-
URLObtain the HTTP URL object from the request. The Text object backing the HTTP URL object has the Text Mode set to URLENCODED by default.
Returns: http_url_t
-
USERReturns the AAA User associated with the current HTTP transaction.
Returns: aaa_user_t
-
VERSIONReturns the HTTP version.
Returns: http_version_t