Streaming body of fetched web page

Not what I want to do, but I have to do it… I am using the wix-fetch api to load a web page from some other site, and I would like to parse the response. Currently my server-side code simply writes out the util.inspect() response body to console:

fetch(url, request)
  .then(response => {
    console.log(inspect(response.body));
 return response;
  });

It looks like the response body is zip-encoded so it will have to be read out and expanded. That’s all I got - any recommendations for how to proceed?

Gunzip {
  _readableState:
   ReadableState {
     objectMode: false,
     highWaterMark: 16384,
     buffer: BufferList { head: null, tail: null, length: 0 },
     length: 0,
     pipes: null,
     pipesCount: 0,
     flowing: null,
     ended: false,
     endEmitted: false,
     reading: false,
     sync: false,
     needReadable: true,
     emittedReadable: false,
     readableListening: false,
     resumeScheduled: false,
     emitClose: true,
     destroyed: false,
     defaultEncoding: 'utf8',
     awaitDrain: 0,
     readingMore: false,
     decoder: null,
     encoding: null },
  readable: true,
  domain:
   Domain {
     domain: null,
     _events:
      { removeListener: [Function: updateExceptionCapture],
        newListener: [Function: updateExceptionCapture] },
     _eventsCount: 2,
     _maxListeners: undefined,
     members: [],
     webMethodInfo:
      { request: [IncomingMessage],
        moduleLoaderFactory: [Function: userBackendCodeBaseModuleFactory],
        logsPusher: [DuplexerLogsPusher],
        consoleAlternative: [ConsoleAlternative],
        logVerbose: [Function] } },
  _events:
   { prefinish: [Function: prefinish],
     end:
      { [Function: bound onceWrapper] listener: [Function: close] },
     unpipe: [Function: onunpipe],
     drain: [Function: pipeOnDrainFunctionResult],
     error: [Function: onerror],
     close:
      { [Function: bound onceWrapper] listener: [Function: onclose] },
     finish:
      { [Function: bound onceWrapper] listener: [Function: onfinish] } },
  _eventsCount: 7,
  _maxListeners: undefined,
  _writableState:
   WritableState {
     objectMode: false,
     highWaterMark: 16384,
     finalCalled: false,
     needDrain: false,
     ending: true,
     ended: true,
     finished: false,
     destroyed: false,
     decodeStrings: true,
     defaultEncoding: 'utf8',
     length: 8300,
     writing: true,
     corked: 0,
     sync: false,
     bufferProcessing: false,
     onwrite: [Function: bound onwrite],
     writecb: [Function: nop],
     writelen: 8300,
     bufferedRequest: null,
     lastBufferedRequest: null,
     pendingcb: 1,
     prefinished: false,
     errorEmitted: false,
     emitClose: true,
     bufferedRequestCount: 0,
     corkedRequestsFree:
      { next: null,
        entry: null,
        finish: [Function: bound onCorkedFinish] } },
  writable: false,
  allowHalfOpen: true,
  _transformState:
   { afterTransform: [Function: bound afterTransform],
     needTransform: false,
     transforming: true,
     writecb: [Function: bound onwrite],
     writechunk:
      <Buffer 1f 8b 08 00 00 00 00 00 00 03 b5 3c 6b 77 d3 48 96 df f7 9c f9 0f 8e 66 8e 91 d6 65 c5 4e 80 06 19 91 0d 10 1a 7a 49 c2 24 c0 f4 8e f1 70 64 a9 64 8b ... >,
     writeencoding: 'buffer' },
  bytesWritten: 0,
  _handle:
   Zlib {
     domain:
      Domain {
        domain: null,
        _events: [Object],
        _eventsCount: 2,
        _maxListeners: undefined,
        members: [],
        webMethodInfo: [Object] },
     onerror: [Function: zlibOnError],
     buffer:
      <Buffer 1f 8b 08 00 00 00 00 00 00 03 b5 3c 6b 77 d3 48 96 df f7 9c f9 0f 8e 66 8e 91 d6 65 c5 4e 80 06 19 91 0d 10 1a 7a 49 c2 24 c0 f4 8e f1 70 64 a9 64 8b ... >,
     cb: [Function: bound afterTransform],
     availOutBefore: 16384,
     availInBefore: 8300,
     inOff: 0,
     flushFlag: 0,
     [Symbol(owner)]: [Circular] },
  _hadError: false,
  _writeState: Uint32Array [ 0, 0 ],
  _outBuffer:
   <Buffer 0d 0a 20 20 20 20 3c 21 64 6f 63 74 79 70 65 20 68 74 6d 6c 3e 0d 0a 20 20 20 20 3c 68 74 6d 6c 3e 0d 0a 20 20 20 20 20 20 20 20 3c 68 65 61 64 3e 3c ... >,
  _outOffset: 0,
  _level: -1,
  _strategy: 0,
  _chunkSize: 16384,
  _defaultFlushFlag: 0,
  _finishFlushFlag: 4,
  _nextFlush: -1,
  _info: undefined }

Bump