[Bug #776542] open_https() generates a bad Authorization header because it calls .putheader() wrongly.  Reported by Steffen Ries.
diff --git a/Lib/urllib.py b/Lib/urllib.py
index 494f578..5449104 100644
--- a/Lib/urllib.py
+++ b/Lib/urllib.py
@@ -369,7 +369,7 @@
                 h.putheader('Content-length', '%d' % len(data))
             else:
                 h.putrequest('GET', selector)
-            if auth: h.putheader('Authorization: Basic %s' % auth)
+            if auth: h.putheader('Authorization', 'Basic %s' % auth)
             if realhost: h.putheader('Host', realhost)
             for args in self.addheaders: h.putheader(*args)
             h.endheaders()