I downloaded a webpage in my python script. In most cases, this works fine.
However, this one had a response header: GZIP encoding, and when I tried to print the sou
You can use urllib3 to easily decode gzip.
urllib3.response.decode_gzip(response.data)