[Webkit-unassigned] [Bug 123428] [SOUP][GTK][WK2] Need API to get SoupSession from WebKit2.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 29 07:41:42 PDT 2013


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





--- Comment #8 from Carlos Garcia Campos <cgarcia at igalia.com>  2013-10-29 07:40:28 PST ---
(In reply to comment #7)
> (In reply to comment #4)
> > We have tried to provide API in webkit for different network features (custom uri schemes, authentication, etc.) instead of exposing the SoupSession. Would it be possible to add API (if actually required) to set proxy settings?
> 
> You mean an API for web-extension (Web Process) or a webview/context API (UI Process)?

For the UI process would be better, that way it will work even if we switch to network process or implement multi-web-process support.

> If for the extension we could easily add a webkit_set_proxy_resolver(GProxyResolver*) instead of exposing the SoupSession. If you mean an API for webview/context we would have to pass the info all the way to the Web Process, and I am not sure how flexible this would be.

It's what we do for custom uri schemes, cookies, disk cache, http auth, etc.

> I believe exposing the SoupSession has other advantages where the user can tweak the session to their needs more easily.

what other things do you need to tweak?

> I wasn't aware of this switch to network process though.

Well, it's not even supported yet, but we might eventually switch.

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