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

Daniel Killebrew dank at eecs.berkeley.edu
Sun Oct 28 15:14:55 PDT 2007


Please read the RFC that is mentioned in the spec. It answers your question.

Daniel

Tri Nguyen wrote:
> 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
> ------------------------------------------------------------------------
>
> _______________________________________________
> ee122 mailing list
> ee122 at mailman.ICSI.Berkeley.EDU
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122
>   


More information about the ee122 mailing list