Data Collect
HTTP:collect()
This function only exist in script events HTTP_REQUEST and HTTP_RESPONSE.
Example
when HTTP_REQUEST {
--HTTP:collect command can be used in both HTTP_REQUEST and HTTP_RESPONSE events
--size, if size is -1 it will collect up to the full length or when FortiWeb's max-cahched length is reached
if HTTP:header(“content-type”) == text/css
HTTP::collect()
}