• Post Reply Bookmark Topic Watch Topic
  • New Topic

Trouble in reading chunked Response from a web server  RSS feed

 
Benoy Antony
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Team ,
As you know, web servers adhering to Http 1.1 , can respond with chunked messages.
This means that response from a web server can appear at the other side in chunks. Each chunk will have its own content length and content.
It seems that Java Http Url Connection InputStream doesn't handle the chunked response.
Though ACME provides classes to support chunked response, I want to know about other alternatives.
Also if anyone knows how to configure the IIS web server to not send back Chunked response, please indicate .
cheers,
benoy
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings benoy,
Welcome to JavaRanch, the absolute best site on the www for Java information. We don't have many rules around here, but we do have one. Please change your display name to a first and last name to conform with the JavaRanch Naming Policy.
You can change it here: Change your display name.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!