[Webkit-unassigned] [Bug 231880] New: [GTK][WPE] Support setting status code and getting HTTP method in custom URI scheme handlers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 17 14:24:19 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=231880

            Bug ID: 231880
           Summary: [GTK][WPE] Support setting status code and getting
                    HTTP method in custom URI scheme handlers
           Product: WebKit
           Version: WebKit Local Build
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: liushuyu011 at gmail.com

Currently, there is no way for the URI scheme handler to get the request HTTP method or set the response status code.

However, those functionalities are necessary, because:

* The same functionality already exists in the macOS version of the WebKit implementation (by manipulating `NSHTTPURLResponse`)
* API consistency: similar functions exist for `WebKitURIRequest` but not for `WebKitURISchemeRequest`
* From the web application standpoint, URI scheme requests are just normal XHRs so applications will handle them as such
* There are already feature requests for this: https://bugs.webkit.org/show_bug.cgi?id=231564

Related: https://bugs.webkit.org/show_bug.cgi?id=203273

-- 
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/20211017/50b0b8ec/attachment-0001.htm>


More information about the webkit-unassigned mailing list