puiterwijk / koji

Forked from koji 8 years ago
Clone

cdf8c24 fix using https url with non-ssl auth in python 2.7.9+

Authored and Committed by mikem 8 years ago
    fix using https url with non-ssl auth in python 2.7.9+
    
    In python 2.7.9, a context option was added to httplib.HTTPSConnection and
    changed its behavior to performs certificate and hostname checks by default.
    
    While this is definitely an improvement, we were relying on the old behavior.
    This change restores that (until we can switch to proper verification).
    
        
file modified
+6 -0
file modified
+7 -0