How do I unzip a gzipped body in a request\'s module response?
I have tried several examples around the web but none of them appear to work.
request(
try adding encoding: null to the options you pass to request, this will avoid converting the downloaded body to a string and keep it in a binary buffer.
encoding: null
request