On Oct 9, 2008, at 11:47 PM, Bill Patterson wrote:

> I need a means to cancel a URL request from a webview, preferably in  
> the  
> webView:resource:willSendRequest:redirectResponse:fromDataSource:  
> delegate.

If you return nil, WebKit will cancel the request.

> I need to do this because I need access to the NSURLConnection  
> delegates to handle a redirected URL, which doesn't seem possible in  
> the webview delegate.

Are you sure? Which delegates specifically? Have you looked at the  
WebKit source code to see how it handles this NSURLConnection delegate?

If this isn't possible, I suspect it's a bug.

     -- Darin

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to