Accept status code from a list of valid codes.
(cast the list of acceptable codes to a list of int )