顯示具有 HTTP 標籤的文章。 顯示所有文章
顯示具有 HTTP 標籤的文章。 顯示所有文章

2011年3月3日 星期四

[HTTP] what is Chunk?

http://developers.sun.com/mobility/midp/questions/chunking/

The problem surfaces when a server tries to read a chunked request it isn't prepared for. In the body of a chunked message, each chunk of data begins with the size of the chunk and an extra CR/LF:

C\r\n
Some data...
11\r\n
Some more data...
0\r\n