[Webkit-unassigned] [Bug 252564] Get the HTTP body of WebKitURISchemeRequest

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 21 01:53:20 PST 2023


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

--- Comment #6 from Yu-Wei Wu <wusyong9104 at gmail.com> ---

(In reply to Carlos Garcia Campos from comment #5)
> For custom uri schemes, it's the application the one providing the http body
> from the UI process, so I don't understand why you need a way to get it
> again.

It could be asking users to fill a form with POST method. Without HTTP body, we can't get the data from the form. It's common to send requests with the body containing some data IMHO.

Btw I tried to test a bit, and it seems the httpBody of the ResourceRequest is still valid when calling the URI scheme callback. Take above form as an example, I can get "name=John" if users type the name into the form. I suppose it's still possible to create a soup message body from it? Or should it just transfer the ownership into the callback?

-- 
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/20230221/1c8d5157/attachment-0001.htm>


More information about the webkit-unassigned mailing list