文档详情

规则编写详解(000002).ppt

发布:2019-08-08约2.9万字共87页下载文档
文本预览下载声明
TMOSCMD::HTTP::Header Command Description HTTP::header is_keepalive A synonym for HTTP::is_keepalive. HTTP::header is_redirect A synonym for HTTP::is_redirect. HTTP::header insert_modssl_fields [addr] [service | port] Note that this command is only for HTTP requests HTTP::header lws Returns 1 if a header was encountered that had linear white space, and 0 otherwise. See RFC2616 for more information on lws and HTTP headers. TMOSCMD::HTTP::Cookie Command Description HTTP::cookie names Returns a TCL list containing the names of all the cookies present in the HTTP headers. HTTP::cookie count Returns the number of cookies present in the HTTP headers. HTTP::cookie exists name Returns a true value if the cookie exists. HTTP::cookie [value] name [string] Sets or gets the value of an existing cookie with the given name. HTTP::cookie insert name name value value [path path] [domain domain] [version 0 | 1 | 2] Adds a cookie to the HTTP Cookie header in requests or Set-Cookie response header. The default value for the version is 0. If the cookie already exists, a second cookie will be inserted (tested in 9.2.4). HTTP::cookie remove name Removes a cookie. HTTP::cookie sanitize [attribute]+ Removes all but the specified attributes from the cookie. TMOSCMD::HTTP::Cookie Command Description HTTP::cookie version name [version] Sets or gets the version of the cookie. HTTP::cookie path name [path] Sets or gets the cookie path. HTTP::cookie domain name [domain] Sets or gets the cookie domain. HTTP::cookie expires name [seconds] [absolute|relative] Sets or gets the expires attribute. Applies to Version 0 cookies only HTTP::cookie secure name [enable|disable] Sets or gets the value of the secure attribute. TMOSCMD::HTTP::Cookie Command Description HTTP::cookie maxage name [seconds] Sets or gets the max-age. Applies to Version 1 and 2 cookies only HTTP::cookie ports name [portlist] Sets or gets the cookie port lists for Version 2 cookies. HTTP::cookie comment name [comment] Se
显示全部
相似文档