import requests


def requests_body_provider(href):
    """Get the content body of a page identified by an href.

    This implementation uses the requests library to fetch content. If the
    response is not a 2XX then None will be returned instead.

    Args:
        href (str): The location of a web page for which to fetch the content
            body.

    Returns:
        str: The content body as text or None if the body could not be fetched.
    """
    response = requests.get(href)
    if response.status_code < 200 or response.status_code >= 300:

        return None

    return response.text