Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 10:59, 23 August 2007.

KIJ000402 - MIDlet hangs while trying to perform cookie-based communication with a server

From Forum Nokia Wiki


MIDlet hangs while trying to perform cookie-based communication with a server
KIJ000402
Overview
Normal http communication works fine but when cookies are being set, the openOutputStream() method doesn’t return and the application hangs.
Reported against
Series 40 3rd Edition
Date identified
September 7, 2006
Symptoms
-
Detailed description
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.
Solution
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.
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX