added awesome request-statuscode checking logic