×
Namespaces

Variants
Actions
Revision as of 09:31, 15 June 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:Accept header change in S60 2nd Edition FP2 (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}}.

From S60 2nd Edition FP2, the Accept header contains only mandatory MIME types. This reduces both the data flow to the server when the device connects to it and the response time.

Article Metadata
Tested with
Devices(s): Nokia 6630 and newer devices
Compatibility
Platform(s): S60 2nd Edition, Feature Pack 2 onwards
S60 2nd Edition (initial release)
Article
Created: User:Technical writer 1 (17 Feb 2005)
Last edited: hamishwillee (15 Jun 2012)

Description

A device can accept several MIME types. Because of this, the Accept header grows so large that it must be sent in more than one packet, which in turn increases the latency time. The new Accept header contains only the MIME types that are mandatory. This reduces both the data flow to the server when the device connects to it as well as the response time of the server.

The mandatory MIME types are:

  • Markup languages (HTML, XHTML, CSS, WML)
  • Multipart
  • Java/JavaScript
  • Wallet
  • DRM & COD

Adding custom MIME types to the Accept header is no longer possible.

Solution

The MIME types that are not included in the Accept header are replaced with */*. The omitted MIME types are stored in the UAProf data file:
http://nds1.nds.nokia.com/uaprof/N6630r100.xml

To check which MIME types are supported by the device, refer to the UAProf file. It lists all the MIME types that the device supports.

This page was last modified on 15 June 2012, at 09:31.
59 page views in the last 30 days.
×