Add HTTP status code checking.