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

Carlos Garcia Campos cgarcia at igalia.com
Tue Apr 3 00:51:00 PDT 2018


El mar, 03-04-2018 a las 09:41 +0200, Maxence Guesdon escribió:
> 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)

No, there isn't.

> - m
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-gtk
-- 
Carlos Garcia Campos
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20180403/49820f0d/attachment.bin>


More information about the webkit-gtk mailing list