python-zeep icon indicating copy to clipboard operation
python-zeep copied to clipboard

authentication_header

Open CandyDeck opened this issue 3 years ago • 0 comments

Hi I would like to know if it is possible to use such header in zeep.

base64string = base64.encodebytes(('%s:%s' % (username,password)).encode()).decode().strip()

authentication_header = {
    "WWW-Authenticate": "https://www.test.matrikkel.no",
    "Authorization": "Basic %s" % base64string
}

I have been looking around but did not find anything. If someone could help, this would be very appreciated ! Thanks

CandyDeck avatar May 31 '22 15:05 CandyDeck