Adds status code check for web view