[Cuis] WebClient and WebChunkedStream

Germán Arduino garduino at gmail.com
Wed Feb 6 10:47:21 CST 2013


Hi Hannes:

WebChunkedStream is used in WebResponse >>contentStream and it is
related with a way of HTTP to maintain persistent connections (HTTP
1.1 I think).

A bit more of info: http://en.wikipedia.org/wiki/Chunked_transfer_encoding

HTH.

2013/2/5 H. Hirzel <hannes.hirzel at gmail.com>:
> Hello
>
> In the WebClient package there is a class WebChunkedStream.
> It is a subclass of ReadStream
>
> The comment says
>    "Can process chunked data."
>
> Instance variables
>    sourceStream and
>    chunkSize
>
> It only has 6 instance methods.
>
> The comment of
> #nextChunk
>
>         "Answer the next chunk from a message using chunked transfer encoding."
>
>
> Looking at the code seems that Unicode conversion does not play a role here.
>
> However
>    What is   "chunked transfer encoding"?
>
>
> Regards
> Hannes
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org




More information about the Cuis mailing list