title: Get UIWebView response header
body: <p>I have looked into ways to get response header from UIWebview response.
  <a href="https://www.google.co.in/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;ved=0CDkQFjAA&amp;url=https://stackoverflow.com/questions/15476539/uiwebview-capturing-the-response-headers&amp;ei=0eseU8GUDYuPrgf7hoCoDQ&amp;usg=AFQjCNFsVdu-fs8F5c9VPgocavg-_KTAew&amp;sig2=QV4_WaeZ4c279v0Zf1yZmg&amp;bvm=bv.62788935,d.bmk&amp;cad=rja" rel="nofollow noreferrer">This SO question</a> discusses it. But I am unsure if this is allowed by apple. I will have a webview showing a loaded login page and need to get the response headers after a successful login. Also <a href="https://stackoverflow.com/questions/1061364/how-do-i-get-the-last-http-status-code-from-a-uiwebview">this</a></p>
  
  <p>does something to get status code. But it create a duplicate NSUrlConnection request. Is there any way by which I can achieve this? I would appreciate any information on this.</p>