Archived:MIDlet hangs while trying to perform cookie-based communication with a server (Known Issue)
Normal HTTP communication works fine but when cookies are being set, the openOutputStream() method doesn't return and the application hangs.
Whenever a MIDlet tries cookie-based communication with a server and if the server returns "HTTP 1.1/200" instead of "HTTP1.1/200 OK", the application hangs because openOutputstream() method doesn't return.
How to reproduce
Write a MIDlet doing cookie-based communication and receive "HTTP1.1/200" instead of "HTTP1.1/200 OK" from a server.
The server should return "HTTP/1.1 200 OK" instead of "HTTP/1.1 200" in the response. OK shouldn't be missing from the response.