• Post Reply Bookmark Topic Watch Topic
  • New Topic

transfer-encoding: "chunked" - problem

 
James Hodgkiss
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone have a code snippet that will handle an http response that is chunked?

At the moment, my midlet is hanging when I call...
in = con.openInputStream();

W3C give some pseudo-code http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.4.6, but I do not know if that can be converted into J2ME?
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!