def __init__(self, valid_methods=None, description=None):
        """Takes an optional list of valid http methods
        starting with werkzeug 0.3 the list will be mandatory."""
        HTTPException.__init__(self, description)
        self.valid_methods = valid_methods
def __init__ ( self , valid_methods = None , description = None ) : HTTPException . __init__ ( self , description ) self . valid_methods = valid_methods
Takes an optional list of valid http methods
        starting with werkzeug 0.3 the list will be mandatory.