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.
Created attachment 149421 [details] Patch
Comment on attachment 149421 [details] Patch Looks good, Mary.
Comment on attachment 149421 [details] Patch Clearing flags on attachment: 149421 Committed r121410: <http://trac.webkit.org/changeset/121410>
All reviewed patches have been landed. Closing bug.