分块编码(Transfer-Encoding: chunked)VS Content-length
生活随笔
收集整理的這篇文章主要介紹了
分块编码(Transfer-Encoding: chunked)VS Content-length
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
參考鏈接:?
HTTP?協議中的?Transfer-Encoding
分塊傳輸編碼
?
https://www.cnblogs.com/xuehaoyue/p/6639029.html
? ?
一、背景:?
? ?
二、分塊編碼(Transfer-Encoding: chunked)?
HTTP/1.1 200 OK
Content-Type: text/plain
Transfer-Encoding: chunked
? ?
25\r\n
This is the data in the first chunk\r\n
? ?
1C\r\n
and this is the second one\r\n
? ?
3\r\n
con\r\n
? ?
8\r\n
sequence\r\n
? ?
0\r\n
\r\n
? ?
總結
以上是生活随笔為你收集整理的分块编码(Transfer-Encoding: chunked)VS Content-length的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Hazelcast发布Jet 0.6版本
- 下一篇: linux 查看数据库和表 mysql