Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting Content-Length in servlet  RSS feed

 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My midlet communicates with a servlet. When I set the Content-Length header in the servlet response, the midlet occurs much larger delays in getting the data from the servlet.

Has anyone else had found this and know why it is? Is the norm just to not bother setting Content-Length?

Cheers,
James
 
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!