<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - WKWebView does not fully support custom NSURLProtocol"
href="https://bugs.webkit.org/show_bug.cgi?id=138169#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - WKWebView does not fully support custom NSURLProtocol"
href="https://bugs.webkit.org/show_bug.cgi?id=138169">bug 138169</a>
from <span class="vcard"><a class="email" href="mailto:sam@webkit.org" title="Sam Weinig <sam@webkit.org>"> <span class="fn">Sam Weinig</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=138169#c9">comment #9</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=138169#c5">comment #5</a>)
> > (In reply to <a href="show_bug.cgi?id=138169#c4">comment #4</a>)
> > > Are there any plans on implementing this functionality? I'd really love to
> > > use WKWebView, but this limitation forces me to keep using the UIWebView.
> >
> > We are investigating it, but it would really help us to understand more
> > about why you were using this functionality. What type of loads did you need
> > to intercept?
>
> Some things we would like to do with WKWebView that are currently impossible
> due to no ability to intercept and modify loading behaviour:</span >
Thanks! A few additional questions:
<span class="quote">>
> * HTTPS Everywhere - Detect HTTP loads of resources in a whitelist, modify
> them to become HTTPS loads
> * Content blocking - Block resources, both top level and resource loads</span >
Diving into these, are you doing dynamic analysis of of loads, or would a static matching / modification engine suite these needs? (Similar to the Content Blocker feature in WebKit, though not exposed as API, but with the ability to modify requests in addition to blocking).
<span class="quote">> * Better control over headers - Ability to look and modify headers, both
> incoming and outgoing</span >
What are the use cases you have for these? Which headers do you need to you want to modify and why?
<span class="quote">> * Implement custom content caching and content preloading - Need the ability
> to take over a resource load and provide our own response</span >
What is the use case for this?
<span class="quote">> * Better control of cookies. Currently there is no way to control cookie
> policy in WKWebView, this is trivial to imlement if we can control network
> requests</span >
Which aspects of the cookie policy do you want to control? What are the use cases for it?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>