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

Maxence Guesdon Maxence.Guesdon at inria.fr
Tue Apr 3 00:41:44 PDT 2018


On Tue, 03 Apr 2018 08:37:33 +0200
Carlos Garcia Campos <cgarcia at igalia.com> wrote:

> El jue, 29-03-2018 a las 23:11 +0200, Maxence Guesdon escribió:
> > Hello,
> > 
> > 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" .  
> 
> Custom URI schemes are for new schemes, not for overriding existing
> ones. We should check it and fail earlier, though.

Is there any other way to intercept these requests so that I can use my
own cache and perform the request myself ? (I want to use webid-tls
authentication)

- m


More information about the webkit-gtk mailing list