HTTP Auth base64

Create issue
Issue #262 resolved
Former user created an issue

Hi

Line 771 of package_index.py is broken in python3.x

Fix would be

{{{ #!python import base64 auth = "Basic " + base64.b64encode(urllib2.unquote(auth).encode()).decode().strip() }}}

Which should work in python2.6 and 3.x

Regards, F. Mueller

Comments (1)

  1. Log in to comment