[Webkit-unassigned] [Bug 46968] [Qt] QWebPage MIME type handling inconsistency with other web browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 12 10:43:57 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=46968





--- Comment #5 from Robert Hogan <robert at webkit.org>  2010-11-12 10:43:57 PST ---
(In reply to comment #4)
> Giving it P2, this is quite bad.

My thinking on this was to introduce a set of functions in QNetworkReplyHandler or utility function in WebCoreSupport that sniff for HTML content when the Content-Type header is empty. This isn't full on mime-type sniffing but it resolves this bug and might be a good way to dip our toe in the water.

I'm also not totally sure that sniffing should happen in QNAM - maybe actual content versus content reported in headers is something only QtWebKit should worry about. Putting in QNAM seems like a bit of a layering violation, I'm not sure.

I'd like to solve this bug so thoughts on the right place to put the solution welcome!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list