[Webkit-unassigned] [Bug 61122] [Soup] http/tests/navigation/post-307-response.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 15 05:05:48 PDT 2012


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





--- Comment #5 from Dan Winship <danw at gnome.org>  2012-10-15 05:06:35 PST ---
(In reply to comment #3)
> For reference I'll point out that the test actually enforces non-compliant behaviour, as far as I can see. 307 on a POST should not be followed without specific user permission. Realistically I think breaking spec might be fine though: it's not like most users are going to understand the implications of POST redirect so asking them is not going to be very useful.
> 
> So I assume libsoup is doing the right thing here but the right thing might not be what webkit wants?

Right. Essentially, WebKit is deciding that, in the context of browsing the web, automatically reposting on 307 is the behavior the user wants/expects, but libsoup, being more general-purpose, isn't going to do it because, eg, maybe it wouldn't be right when doing XMLRPC.

I think there's discussion of this somewhere on some other bug, but basically ResourceHandleSoup needs to notice this case itself in closeCallback() (I think?), and send a second request itself in that case.

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