Python 3 ‘utf-8’ codec can’t decode byte 0x8b in position 1: invalid start byte

Probably you have something like this

body = str(response.read().decode('utf8'))

Try this

gzipFile = gzip.GzipFile(fileobj=response)
body = str(gzipFile.read())