Re: [webkit-dev] Add HTTP headers to WebView URL request with and without redirection

2008-10-09 Thread David Kilzer
If you want to do it for every request inside a WebView, why not just implement the resource load delegate method this way: - (NSURLRequest *)webView:(WebView *)sender resource:(id)identifier willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse fromDataSour

[webkit-dev] Add HTTP headers to WebView URL request with and without redirection

2008-10-08 Thread Bill Patterson
I am needing to add HTTP headers to any URL request from a WebView. I've got it working for direct URLs, but redirect URLs are being missed. I've tried spawning a NSURLConnection and catching the redirected URL there, and that works, but I can't seem to stop the original WebView request, so