[webkit-gtk] Send HTTP header line for every request

Michael Catanzaro mcatanzaro at igalia.com
Sat Jun 25 14:18:08 PDT 2016


On Sat, 2016-06-25 at 17:50 +0200, Jay Strict wrote:
> I assume, as of [3], that I have to implement a WebExtension

No, that won't do you any good; the networking code lives in the
network process, not the web process.

Fortunately, I think you can get the behavior you want using the UI
process API, by connecting to the resource-load-started signal of
WebKitWebView; that will give you a WebKitURIRequest that you can
modify. I haven't tried this before; hope it works for you.

Michael


More information about the webkit-gtk mailing list