webkit2gtk-rs
webkit2gtk-rs copied to clipboard
get_http_headers Method not implemented yet.
I want to use webkit-uri-request-get-http-headers to filter and modify my requests. But this method is not implemented yet.
It's not implemented yet because it requires libsoup rust bindings, someone from the GNOME community generated them here https://gitlab.gnome.org/World/Rust/soup-rs
@bilelmoussaoui Oh! I didn't see it. I have also generated this library yesterday. https://github.com/whizsid/soup-rs . I can make a PR after adding them to 'cargo' and 'gir' config files. If you want, I like to add this repo to gtk-rs team after finished some build errors.
@whizsid it would be nice if you could contribute directly to the one hosted in GNOME, I have been working on updating it
@bilelmoussaoui Currently I am using a custom build of the webkit2gtk-rs. But the same issue appeared when using the 'webkit2gtk-webextension-rs' library.
@whizsid soup-rs should now work with the latest gtk-rs stack
@bilelmoussaoui Thank you! But still, I can not use it with webkit2gtk. I am getting an error like 'failed to select a version for gio-sys'. soup-rs is depending on gio-sys 0.9 and webkit2gtk is depending on the bleeding edge.