Use the zlib library to decompress or compress the gzip content in the http session in memory, and call the function directly.