Skip to content

add scheme handler#955

Draft
akallabeth wants to merge 1 commit into
webview:masterfrom
akallabeth:add_scheme_handler
Draft

add scheme handler#955
akallabeth wants to merge 1 commit into
webview:masterfrom
akallabeth:add_scheme_handler

Conversation

@akallabeth

Copy link
Copy Markdown
Contributor

Implements add_scheme_handler for allowing registering custom schemes.

currently only gtk is implemented, mac os and windows are TODO.

@SteffenL

Copy link
Copy Markdown
Collaborator

Thanks for starting working on this. This is surely something the library should have but I have some concerns.

WebKitGTK has some annoying issues with custom schemes that I came across:

  • Doesn't support redirects.
  • Video/Audio URLs fail to load.

Users will also want to be able to inspect the request headers and body, as well as send a response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Pull request is a feature

Development

Successfully merging this pull request may close these issues.

2 participants