adjusting http status code range for valid check