import requests


def _http_method(method_str):
    """
    Return function for given HTTP Method from requests library

    Args:
        method_str (str): HTTP method, "get", "post", etc.

    Returns:
        function: requests.get, requests.post, etc. None if no match
    """
    if method_str == "get":
        return requests.get
    if method_str == "post":
        return requests.post
    if method_str == "delete":
        return requests.delete
    if method_str == "put":
        return requests.put
    if method_str == "options":
        return requests.options
    return None