[Webkit-unassigned] [Bug 232653] New: [GTK][WPE] Support getting and setting HTTP headers in custom URI scheme handlers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 2 19:39:22 PDT 2021


            Bug ID: 232653
           Summary: [GTK][WPE] Support getting and setting HTTP headers in
                    custom URI scheme handlers
           Product: WebKit
           Version: WebKit Local Build
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: liushuyu011 at gmail.com
                CC: bugs-noreply at webkitgtk.org

This is a continuation of https://bugs.webkit.org/show_bug.cgi?id=231880.

Currently, there is no way for the URI scheme handler to get or set the HTTP headers.
As the last patch has proven, the URI scheme handler should also be considered to be HTTP-compliant since `fetch` or `XHR` calls to the URI scheme handler contains full HTTP information.

Those functionalities are necessary, because:
* The same functionality already exists in the macOS version of the WebKit implementation (by manipulating `NSHTTPURLResponse` and/or `NSHTTPURLRequest`)
* Could eliminate the usage of a local server: this could ease the development of semi-native apps, especially in the embedded environment
* Existing workaround to get HTTP headers from URI scheme is unreliable (see the bug report below)
* There are already feature requests for this: https://bugs.webkit.org/show_bug.cgi?id=231564

After this patch is landed, https://bugs.webkit.org/show_bug.cgi?id=231564 will be completely fixed.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211103/aa9929bf/attachment.htm>

More information about the webkit-unassigned mailing list