Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting Content-Length in servlet  RSS feed

 
James Hodgkiss
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!