[Webkit-unassigned] [Bug 105610] [Qt] QtWebKit should treat unexpected 100-continue as 200-OK

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 25 22:22:13 PST 2012


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





--- Comment #1 from Chen Zhixiang <chenzx at cn.fujitsu.com>  2012-12-25 22:24:22 PST ---
Created an attachment (id=180729)
 --> (https://bugs.webkit.org/attachment.cgi?id=180729&action=review)
A patch targeting Qt-4.8.0 QtNetWork module for fixing this problem

A patch for Qt-4.8.0 Network module.

Main fix points:

1) RFC says 100 Continue SHOULD NOT have body, but if it really does, we do ignore;
2) If Content-Length specified, then ignore obeying it;
3) If Not Content-Length, then scan line by line, untill find a matched line which starts with "HTTP/"

This patch make QtWebKit's behavour like Firefox. Although Firefox doesn't do 2), it only does 3)

-- 
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