How do I get the last HTTP Status Code from a UIWebView?
I would like to detect when a page load request give to a UIWebView has returned a status code in the 5xx or 4xx range.  

I've setup the delegate for the web view and have provided a -webView:didFailLoadWithError:error method but although it gets called fine for timeouts, it is not called for HTTP Status Code errors.

Any suggestions?
How do I get the last HTTP Status Code from a UIWebView?
===

I would like to detect when a page load request give to a UIWebView has returned a status code in the 5xx or 4xx range.  

I've setup the delegate for the web view and have provided a -webView:didFailLoadWithError:error method but although it gets called fine for timeouts, it is not called for HTTP Status Code errors.

Any suggestions?