I have a test application that validates URLs to check if a particular service is up. Trouble is, I am validating a range of URLs which will send me a variety of Http Statuses, for eg:
200(OK) is valid and 302(Found) is also valid.
But 500 or 404 is not valid.
I'm not sure which Http Statuses indicate the service is up and running? Do we have a whitelist or any other reliable method to validate this?