Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_http_headers Method not implemented yet. #61

Open
whizsid opened this issue Jan 12, 2020 · 6 comments
Open

get_http_headers Method not implemented yet. #61

whizsid opened this issue Jan 12, 2020 · 6 comments

Comments

@whizsid
Copy link

whizsid commented Jan 12, 2020

I want to use webkit-uri-request-get-http-headers to filter and modify my requests. But this method is not implemented yet.

@bilelmoussaoui
Copy link
Contributor

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

@whizsid
Copy link
Author

whizsid commented Jan 13, 2020

@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.

@bilelmoussaoui
Copy link
Contributor

@whizsid it would be nice if you could contribute directly to the one hosted in GNOME, I have been working on updating it

@whizsid
Copy link
Author

whizsid commented Jan 16, 2020

@bilelmoussaoui Currently I am using a custom build of the webkit2gtk-rs. But the same issue appeared when using the 'webkit2gtk-webextension-rs' library.

@bilelmoussaoui
Copy link
Contributor

@whizsid soup-rs should now work with the latest gtk-rs stack

@whizsid
Copy link
Author

whizsid commented Jan 19, 2020

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants