Namespaces
Variants
Actions

Archived:HTTP redirect status code not recognized on Series 40 1st Edition (Known Issue)

Jump to: navigation, search
Archived.png
Archived: 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}}.

Article Metadata

Tested with
Devices(s): Nokia 7250i

Compatibility
Platform(s): Series 40 1st Edition

Article
Created: User:Technical writer 1 (31 Aug 2004)
Last edited: hamishwillee (10 May 2013)

Description

According to specifications, HTTP 1.0 devices accept the redirect status code 302 and HTTP 1.1 devices accept the redirect status code 303. However, for example the Nokia 7250i claims to support HTTP 1.1, but does not recognize the redirect status code 303 and throws an error message when it receives the code.

Solution

There is a mistake in the implementation of this feature, because a device supporting HTTP 1.1 should also support the HTTP redirect code 303.

  • 'WapVersion 1.x' indicates that the device supports WAP1.x, which means that the redirect code 303 is not supported and the redirect code 302 should be used instead.
  • 'WapVersion 2.0' means that the device supports WAP2.0 and the redirect code 303 should be used.

To find out which WAP version is used, check the UAProf file of the device in question. An example of a WAP 1.x HTTP header is in the file http://nds.nokia.com/uaprof/N7250ir100.xml: <prf:WapVersion>1.2.1</prf:WapVersion>. An example of a WAP 2.0 HTTP header is in the file http://nds1.nds.nokia.com/uaprof/N6230r400.xml: <prf:WapVersion>2.0</prf:WapVersion>.

This page was last modified on 10 May 2013, at 09:12.
193 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved