68 Preferences.setUI("ProxyPassword/{0}".format(scheme), password) |
68 Preferences.setUI("ProxyPassword/{0}".format(scheme), password) |
69 proxy.setUser(username) |
69 proxy.setUser(username) |
70 proxy.setPassword(password) |
70 proxy.setPassword(password) |
71 |
71 |
72 |
72 |
73 class HostnameMatcher(object): |
73 class HostnameMatcher: |
74 """ |
74 """ |
75 Class implementing a matcher for host names. |
75 Class implementing a matcher for host names. |
76 """ |
76 """ |
77 def __init__(self, pattern): |
77 def __init__(self, pattern): |
78 """ |
78 """ |