Пример #1
0
 def find_key_cert(self, authuri):
     return HTTPPasswordMgr.find_user_password(self, None, authuri)
Пример #2
0
 def is_suburi(self, base, test):
     if base is None:
         # default to the proxy's host/port
         hostport, path = test
         base = (hostport, "/")
     return HTTPPasswordMgr.is_suburi(self, base, test)
Пример #3
0
 def reduce_uri(self, uri, default_port=True):
     if uri is None:
         return None
     return HTTPPasswordMgr.reduce_uri(self, uri, default_port)
Пример #4
0
 def find_key_cert(self, authuri):
     return HTTPPasswordMgr.find_user_password(self, None, authuri)
Пример #5
0
 def is_suburi(self, base, test):
     if base is None:
         # default to the proxy's host/port
         hostport, path = test
         base = (hostport, "/")
     return HTTPPasswordMgr.is_suburi(self, base, test)
Пример #6
0
 def reduce_uri(self, uri, default_port=True):
     if uri is None:
         return None
     return HTTPPasswordMgr.reduce_uri(self, uri, default_port)