Bug 89860 - [BlackBerry] 0-length response with no content-type shouldn't download
Summary: [BlackBerry] 0-length response with no content-type shouldn't download
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mary Wu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-25 02:20 PDT by Mary Wu
Modified: 2012-06-27 23:10 PDT (History)
5 users (show)

See Also:


Attachments
Patch (2.16 KB, patch)
2012-06-25 18:48 PDT, Mary Wu
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mary Wu 2012-06-25 02:20:46 PDT
For 0-length response with no content-type, should get the mimetype from extension, if still can't get valuable mimetype, set mimetype to text/plain in case it go to download. It's from internal RIM bug 168419.
Comment 1 Mary Wu 2012-06-25 18:48:06 PDT
Created attachment 149421 [details]
Patch
Comment 2 Rob Buis 2012-06-26 08:20:03 PDT
Comment on attachment 149421 [details]
Patch

Looks good, Mary.
Comment 3 WebKit Review Bot 2012-06-27 23:10:07 PDT
Comment on attachment 149421 [details]
Patch

Clearing flags on attachment: 149421

Committed r121410: <http://trac.webkit.org/changeset/121410>
Comment 4 WebKit Review Bot 2012-06-27 23:10:12 PDT
All reviewed patches have been landed.  Closing bug.