6630 and Http -- Nokia PLEASE HELP ME -- URGENT URGENT!!!!
I am using 6630 firmware: V 4.03.38 25-04-05 RM-1
I am posting to website and I know there there should be a response back from the server but when I do
InputStream in = con.openInputStream ();
int c = 0;
c = in.read();
[b]c[/b] is always -1. Is this a known bug? and con.getLength() is -1. I ran it on phone with fw: 3.45 and it works fine. also works on 6600!!!!
Re: 6630 and Http -- Nokia PLEASE HELP ME -- URGENT URGENT!!!!
Problem Solved, there was a bug in web site and there is a bug in nokia firmware v4.03, I think. I solved it by fixing web site. It appears if website doesn't set Content-length this version of firmware assumes that there is no data to read and returns -1 when i try to read page contents regardless if there is data or not. firmware bug i think.
Clue: regression testing, regression testing and more regression testing will help eliminate firmware bugs like these. :D