Bug 89860

Summary: [BlackBerry] 0-length response with no content-type shouldn't download
Product: WebKit Reporter: Mary Wu <mawu>
Component: PlatformAssignee: Mary Wu <mawu>
Status: RESOLVED FIXED    
Severity: Normal CC: charles.wei, joenotcharles, rwlbuis, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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.