I have looked into ways to get response header from UIWebview response. This SO question discusses it. But I am unsure if this is allowed by apple. I will have a webview sho
This should do it for you.
- (void)webViewDidFinishLoad:(UIWebView *)webView { NSCachedURLResponse *resp = [[NSURLCache sharedURLCache] cachedResponseForRequest:webView.request]; NSLog(@"%@",[(NSHTTPURLResponse*)resp.response allHeaderFields]); }