Hi, On MacOSX, I have an application with a WebView and a reverse proxy. I want all requests from the WebView to go through the reverse proxy so I implemented a WebResourceLoadDelegate with the following method:
- (NSURLRequest *)webView:(WebView *)sender resource:(id)identifier willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse fromDataSource:(WebDataSource *)dataSource; In this method, I create an NSURLProtectionSpace instance with initWithProxyHost:port:type:realm:authenticationMethod:. The problem is that I haven't found a way to insert this protectionspace into the modified NSURLRequest that I return. Am I doing something wrong? Thanks. -- Rémy Saissy Web: http://picasaweb.google.fr/remy.saissy "J'aime les belles plantes car cela me donne envie de devenir jardinier." _______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
