Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic