Issue #123 [New/open] - Python client basic authentication broken for Python 3

Posted by andreas.riegg

As the title says ...

Problem/discussion/patch is here:\_A8J



change line 43 from :

self.auth = "Basic " + encodeCredentials(login, password)

to :

self.auth = b'Basic ' + encodeCredentials(login, password)

As Python 2 just ignores the b'something' this patch will not cause problems for Python 2 clients.

However, this patch just cures the symptoms for now, maybe the final bugfix is better suited in or somewhere else.