[Webkit-unassigned] [Bug 138169] WKWebView does not fully support custom NSURLProtocol

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 6 09:21:39 PST 2016


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

--- Comment #27 from Garvan Keeley <garvankeeley at gmail.com> ---
There is a major bug in the comment #25 approach, having a registered NSURLProtocol causes post bodies to be stripped.

Returning false always from NSURLProtocol `canInitWithRequest(request: NSURLRequest) -> Bool` results in an empty post body. 

The stripped post body in the NSURLRequest sent to NSURLProtocol is not surprising given the justification in https://bugs.webkit.org/show_bug.cgi?id=145410, that IPC serialization of large post data is a performance hit. What is surprising is that returning 'false' from `canInitWithRequest` does not workaround this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161206/d2255b59/attachment-0001.html>


More information about the webkit-unassigned mailing list