[Webkit-unassigned] [Bug 86344] [BlackBerry] xhr request to non existent file response is 0 and not 404.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 14 06:48:29 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=86344
--- Comment #6 from Joe Mason <jmason at rim.com> 2012-05-14 06:47:33 PST ---
The updated LayoutTest looks right to me, but I don't like the webkit change.
If I understand you right:
For a non-existent file, curl is returning 404 for GET but 0 for HEAD. I don't see anything in the spec that says it should be doing this, so it sounds like a curl bug.
For a 0-length file, curl is returning 200 (with no body) for GET, and I can't tell from this writeup what it's doing for HEAD. But I think it should be returning 200 here too. (Obviously with no body.)
So instead of changing NetworkJob, I think we should be converting the 0 to 404 in the platform layer, as soon as it's returned from libcurl. And we should file a bug against libcurl.
--
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