【发布时间】:2009-03-30 23:51:18
【问题描述】:
HTTP 中携带的东西是否关心块大小?也许某种 RPC 协议?
编辑:这是Wikipedia 示例响应
Date: Mon, 30 Mar 2009 22:22:21 GMT
HTTP/1.1 200 OK
Content-Type: text/plain
Transfer-Encoding: chunked
23
This is the data in the first chunk
1A
and this is the second one
0
响应很容易被分割成不同于 23 和 1A 大小的块。是否存在块边界可能很重要的情况?
【问题讨论】:
-
clinet 端是否有其他方法来确保它接收到所有数据?
标签: http rpc chunked-encoding