to be 100% clear - is the "bug" here just that attempting to log a gzipped response might throw a traceback? Or that we *want* a gzipped body to be decoded to plaintext to log it?
Obviously we can't expect a gzipped body to make it's way to a terminal w/o some risk of malformed encoding... so un-gzipping it (maybe with some logging text to indicate it's was gzip on the wire) seems like a very reasonable path forward?
to be 100% clear - is the "bug" here just that attempting to log a gzipped response might throw a traceback? Or that we *want* a gzipped body to be decoded to plaintext to log it?
Obviously we can't expect a gzipped body to make it's way to a terminal w/o some risk of malformed encoding... so un-gzipping it (maybe with some logging text to indicate it's was gzip on the wire) seems like a very reasonable path forward?