def authheader(login, password):
    s = '%s:%s' % (login, password)
    value = base64.b64encode(s.encode(NETWORK_ENCODING))
    return b'Basic ' + value
dataset/ETHPy150Open vlasovskikh/convoread/convoread/convore.py/authheader/original