Bug 231564 - [GTK] WebKitURISchemeRequest is missing functions to get headers and methods
Summary: [GTK] WebKitURISchemeRequest is missing functions to get headers and methods
Status: RESOLVED DUPLICATE of bug 203273
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
Keywords: Gtk
Depends on:
Reported: 2021-10-12 01:17 PDT by Yu-Wei Wu
Modified: 2021-11-04 05:43 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Yu-Wei Wu 2021-10-12 01:17:28 PDT
Unlike WebKitURIRequest which can get the HTTP methods and headers, WebKitURISchemeRequest doesn't have these functions.
Even if I tried to get it through connecting "resource-load-started" signal of the webview, the header of this WebKitURIRequest will still be empty.
It would be nice if WebKitURISchemeRequest can get the headers and methods since this type is the main type used when defining a new URL scheme.
This is useful when it needs to load huge files like videos and the requests have some headers to query in a reasonable range.
Comment 1 Michael Catanzaro 2021-10-18 11:25:56 PDT
Getter for the method is added in bug #231880.
Comment 2 Michael Catanzaro 2021-11-04 05:43:50 PDT
And for headers in bug #203273. Closing.

*** This bug has been marked as a duplicate of bug 203273 ***