TalNe
Sep 20, 2016Nimbostratus
How to get the response size after gzip compression
Hi, i have virtual server that run HTTP Compression Profile i need to get the size of the response packet after the gzip compression before it leave the f5 machine
i try the fallow irule
when HTTP_RESPONSE { log local0. "HTTP_RESPONSE triggered" HTTP::collect 32000000 set length [HTTP::payload length] HTTP::header insert "Content-Length" $length log local0. "the content length of the response from OWS is $length" } but i get the size before compression
i check the size its need to be with the fallow command from tmsh
tmsh show ltm profile http-compression profile_name
i will appreciate your help thanks