×
Namespaces

Variants
Actions

Archived:MIDlet hangs while trying to perform cookie-based communication with a server (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Normal HTTP communication works fine but when cookies are being set, the openOutputStream() method doesn't return and the application hangs.

Article Metadata
CompatibilityArticle
Created: User:Technical writer 1 (07 Sep 2006)
Last edited: hamishwillee (25 Jul 2013)

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.

This page was last modified on 25 July 2013, at 12:42.
42 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×