Abdalla Elmardi
Results
2
comments of
Abdalla Elmardi
the response.download function uses pillarjs/send which uses fs.stat to get the size of the file and set the http headers accordingly. then uses the size to generat fs.createReadStream options (start...
when router adds removed back it add them [here ](https://github.com/pillarjs/router/blob/f76ecfd32f0a4a1f036058c3390162355fec73bf/index.js#L206) ``` js req.url = protohost + removed + req.url.slice(protohost.length) ``` and the values in this example ``` req.url = 'index.html'...