I wrote a J2ME program to let my mobile communicate with a
web server. My program works fine on the Nokia emulator but
it failed when running on real mobile. The error that occur when
running the program on mobile phone is
IOException. Malformed Header.
According to my test, if the server reply "200 OK" response with
any content, my program can handle it well. However, when the
server reply something else such as "302 Temporarily Moved", in
this case, the exception is occured.