Add http response status code checking.