You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by CodingForever <ni...@gmail.com> on 2010/09/16 13:03:55 UTC

Offline http decoding. ? Chunk problem

Hi  I am new about apache and on HttpClient - user forum.

I have a problem.
I am trying to offline http decoding. It means that I decode the already
captured http packets. But I faced a problem that CHUNK problem. For
accessing real data I have to merge the chunks.  

Now I have response header and body( lots of chunks )  
Is there any class or api that works offline and merge the given chunks ?
( Note : I just have response header and cunked body )

I need help...
-- 
View this message in context: http://old.nabble.com/Offline-http-decoding.---Chunk-problem-tp29727144p29727144.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: Offline http decoding. ? Chunk problem

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Thu, 2010-09-16 at 04:03 -0700, CodingForever wrote:
> Hi  I am new about apache and on HttpClient - user forum.
> 
> I have a problem.
> I am trying to offline http decoding. It means that I decode the already
> captured http packets. But I faced a problem that CHUNK problem. For
> accessing real data I have to merge the chunks.  
> 
> Now I have response header and body( lots of chunks )  
> Is there any class or api that works offline and merge the given chunks ?
> ( Note : I just have response header and cunked body )
> 
> I need help...

Take a look at 

http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/impl/io/TestChunkCoding.java

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org