title: ungzip not working with axios on post request
body: <p>I want to compress a large amount of string data and want to log in to file and download this file so that I can use that data in the future as and when required for which I chose "gzip-node". I can zip the string and store into a file but on the decompression, it shows the below error</p>
  
  <pre><code>(node:71720) UnhandledPromiseRejectionWarning: Error: Error: incorrect header check
  [0]     at Gunzip.cb (C:\Users\nagasudha.sanikommu\project-omega - Copy (4) - Copy\node_modules\node-gzip\dist\index.js:17:49)
  [0]     at Gunzip.zlibBufferOnError (zlib.js:119:8)
  [0]     at Gunzip.emit (events.js:209:13)
  [0]     at Zlib.zlibOnError [as onerror] (zlib.js:173:8)
  [0] (node:71720) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)
  [0] Promise { &lt;pending&gt; }
  </code></pre>
  
  <h2>nodejs code</h2>
  
  <pre><code>app.post('/open',function(request,response,next){
      console.log(request);
      if(request.files.selectedFile){
          let file=request.files.selectedFile;
          let dest=__dirname+'/uploads/example.txt';
          file.mv(dest,function(err){
              if(err){
                  response.send("File not found");
              }
              else{
                  fs.readFile(__dirname+'/uploads/example.txt',function(err,data){
                      ungzip(data.toString()).then((u)=&gt;{
                          response.send(u);
                      })
                  })
              }
          })
  
      }
  
  })
  </code></pre>
  
  <h2>react js code</h2>
  
  <pre><code>handleFileOpen=function(event) {
    let data=new FormData();
    data.append('selectedFile',event.target.files[0]);
    axios({
         method:"post",
         url:"http://localhost:4001/open",
         data:data,
     })
     .then(res=&gt;{
         console.log(res.data);
    })
  </code></pre>