Re: Some HTTPConnection requests not working on Asha SDK 1.0
The website www.indt.org does not specify a HTTP header Content-Length at all. Consequently in the world of Java, getLength() returns -1. However, the mentioned web-server uses Transfer-Encoding: chunked. I tried your code and got 17459 bytes of content data. No exception is thrown.