On Thu, 2013-09-19 at 13:26 -0700, Hans Uhlig wrote: > They don't appear in the entity when I use getContent() is there another > way I should get the additional chunks? >
What are you referring to as 'they'? Chunk headers? Chunk-coded content gets transparently decoded by HttpClient. Chunk headers are not supposed to appear in the content stream. Oleg > > On Thu, Sep 19, 2013 at 1:17 PM, Oleg Kalnichevski <[email protected]> wrote: > > > On Thu, 2013-09-19 at 12:16 -0700, Hans Uhlig wrote: > > > > ... > > > > > 2013/09/19 12:14:59:908 PDT [DEBUG] wire - http-outgoing-0 << "HTTP/1.1 > > 200 > > > OK[\r][\n]" > > > 2013/09/19 12:14:59:910 PDT [DEBUG] wire - http-outgoing-0 << > > > "Content-Encoding: gzip[\r][\n]" > > > 2013/09/19 12:14:59:910 PDT [DEBUG] wire - http-outgoing-0 << > > > "Transfer-Encoding: chunked[\r][\n]" > > > 2013/09/19 12:14:59:910 PDT [DEBUG] wire - http-outgoing-0 << "[\r][\n]" > > > 2013/09/19 12:14:59:910 PDT [DEBUG] wire - http-outgoing-0 << > > "6d[\r][\n]" > > > > ... > > > > > 2013/09/19 12:14:59:910 PDT [DEBUG] wire - http-outgoing-0 << > > "39bd[\r][\n]" > > > > ... > > > > > 2013/09/19 12:14:59:983 PDT [DEBUG] wire - http-outgoing-0 << "0[\r][\n]" > > > 2013/09/19 12:14:59:983 PDT [DEBUG] wire - http-outgoing-0 << "[\r][\n]" > > > > As far as I can tell the server sends two chunks of data 0x6d + 0x39db > > in length and ten correctly terminates the stream. I also see nothing > > wrong in HttpClient's handling those chunks either. > > > > Oleg > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
