[webkit-gtk] web context: overriding handling of http[s] schemes

Maxence Guesdon Maxence.Guesdon at inria.fr
Thu Mar 29 14:11:51 PDT 2018


I use Webkit2-4 2.10 and Gtk-3.18 (on ubuntu xenial)

In an application, I have a webkit web view. When I set a callback for
the http or https schemes, using webkit_web_context_register_uri_scheme,
I get the following error:

(process:8909): libsoup-CRITICAL **: soup_request_http_get_message:
assertion 'SOUP_IS_REQUEST_HTTP (http)' failed

and the web view displays: "The URL can’t be shown" .

If I set my callback for another scheme, everything goes well. Is it
possible to override the handling of http and https schemes ? (I hope



More information about the webkit-gtk mailing list