[ee122] confuse on how to process data with chunked encoding

Tri Nguyen quang7721 at berkeley.edu
Sun Oct 28 13:01:16 PDT 2007


here is the example from the spec:
HTTP/1.0 200 OK
Content-Type: text/html
Transfer-Encoding: chunked
<blank line here>
200
<512 bytes of data, plus an additional CRLF>
1b
<27 bytes of data, plus an additional CRLF>
0
<blank line here>

I don't understand what 200 and 1b mean in this case
plus CRLF is an extra CRLF beside other CRLF in the 512 byte of data?
for example:
<blank line here>
200
<hello\r\n world\r\n\r\n> or <hello\r\n world\r\n>
1b
<27 bytes of data, plus an additional CRLF>
0
<blank line here>

thanks for any response
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/ee122/attachments/20071028/ee4617bf/attachment.html 


More information about the ee122 mailing list