最近抽时间看 node.js:up and running 请教下英文哦。
发布于 11 年前 作者 hackerjs 3894 次浏览 最后一次编辑是 8 年前

it’s important to notice that the body of the HTTP request is actually received via a stream in the response object

注意下,HTTP请求的主体 实际上通过数据流接受 Respose 对象。

是这样理解的吗?

4 回复

http请求体通过响应对象上的一个stream接收。

这个即学即用有中文版的。

一个HTTP消息的头(header)和身体(body)是分开传递的。身体部分可以很大,一个传递处理不了,要多次传递,就用到了 stream 来接收。

这个介绍不错: http://www.cnblogs.com/TankXiao/archive/2012/02/13/2342672.html

回到顶部