Accept status code from a list of valid codes.