Find response body size of a gzip(ped) response before unzip

Hi All

I am using the following construct to find the size of the body bytes in the response

check(bodyBytes.transform((body) => { (body.size)}).saveAs ("size"))

I have a server which responds with gzip encoding depending on the client's Accept-Encoding header. I want to find the body size in bytes before the gzipped body is unzipped. With the above statement I am always getting the unzipped body size. How do I find the size of the body before the unzip operation was performed.  Is this possible ?


No, not supported atm. As you probably know, Content-Length header value is the uncompressed size.