from base64 import b64encode


def get_auth_http_headers(username, password):
    """Get HTTP header for basic authentication"""
    authorization = ('Basic '
                     + b64encode(f'{username}:{password}'.encode('utf-8')).decode('utf-8'))
    headers = {'Authorization': authorization}
    return headers