if isinstance(kwargs.get("methods"), string_type):
        kwargs["methods"] = [kwargs["methods"]]