nodejs 笔记(三)range

http 请求头  range :bytes=[start]-[end]

http 响应头 accept-ranges : 'byte'

 

'content-range',`byte ${start}-${end}/${totalSize}`
'content-length', end - start

 

二、使用curl 监控网络

1.全局安装

npm i -g curl

2.查看全量信息

curl -i http://127.0.0.1:9753

posted @ 2019-05-21 21:21  cecelia  阅读(338)  评论(0)    收藏  举报