Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Content-Disposition header ignored in some S60 3rd Edition devices

From 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}}.

Article Metadata
Tested with
Devices(s): Nokia N95 8GB
Platform(s): S60 3rd Edition, FP1
S60 3rd Edition (initial release)
Created: User:Kbwiki (30 Jun 2009)
Last edited: lpvalente (20 Sep 2012)



The web browser and Web Runtime ignore the Content-Disposition header received with the HTTP response in some S60 3rd Edition devices.


According to RFC 2183, if the disposition-type is attachment, then the display of the content "should not be automatic, but contingent upon some further action of the user". In other words, the user should be prompted what to do with the content (open, save, etc).

It seems that the browser always opens the content inline, which is problematic in the case of binary files that have no matching handlers (recognizers) on the platform, resulting in gibberish shown to the user.

How to reproduce

Craft a web component that provides the appropriate response headers to duplicate the issue.

For example:

Opening the URL above in the browser will display the content inline. You can use a network sniffer to see that the Content-Disposition header instructs the browser to handle the content as an attachment, but the browser ignores that, hence being non-compliant with the standards.


Currently no solution exists.

This page was last modified on 20 September 2012, at 17:36.
64 page views in the last 30 days.