[Webkit-unassigned] [Bug 126242] [SOUP] Response body are always NULL.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 26 06:47:09 PST 2013


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





--- Comment #3 from Dan Winship <danw at gnome.org>  2013-12-26 06:45:07 PST ---
(In reply to comment #2)
> In libsoup's documentation says: If you are using SoupRequest (as I know WebKit uses SoupRequest), then the message body is not accumulated by default, so response_body's data will always be NULL.
> 
> https://developer.gnome.org/libsoup/stable/SoupMessage.html#SoupMessage-struct

That's correct-ish... it shouldn't say "by default", since there's actually no way to make it get accumulated (by libsoup) any more. And, as you've noticed, got-chunk doesn't get emitted when using the request API either.

I'm not sure if there's some webkit-level API you could use to gather the body data from there (eg, hooking into didReceiveData() or something)

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