WebClient and WebChunkedStream

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

WebClient and WebChunkedStream

Hannes Hirzel
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
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: WebClient and WebChunkedStream

garduino
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 <[hidden email]>:

> 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
> [hidden email]
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org