How to decompress http responses in vba excel?
问题 How to decompress/decode gzip/deflate http/s responses in vba? Winhttp5.1 does not automatically decompress/decode gzipped or deflate responses. MSxml2 does decompress/decode responses, but does not allow custom headers or referers. 回答1: The following code can be used to decompress any compressed data, by calling the Inflate() Function from the Inflate module. Full inflate module code is given below. Of course you can change the module name and the function name but do it carefully.