import requests


def get_locale_content(locale: str) -> bytes:
    """
    A simple download and return response function.

    Input files:
    https://github.com/NLnetLabs/Internet.nl/blob/master/translations/nl/main.po
    -> https://raw.githubusercontent.com/NLnetLabs/Internet.nl/master/translations/nl/main.po

    https://github.com/NLnetLabs/Internet.nl/tree/master/translations/en/main.po
    -> https://raw.githubusercontent.com/NLnetLabs/Internet.nl/master/translations/en/main.po

    :param locale: 2 letter locale.
    :return: str
    """

    url = "https://raw.githubusercontent.com/NLnetLabs/Internet.nl/master/translations/%s/main.po" % locale
    response = requests.get(url)
    return response.content