HTTPNtlmAuthHandler.py 文件源码

python
阅读 37 收藏 0 点赞 0 评论 0

项目:lalascan 作者: blackye 项目源码 文件源码
def __init__(self, password_mgr=None, debuglevel=0):
        """Initialize an instance of a AbstractNtlmAuthHandler.

Verify operation with all default arguments.
>>> abstrct = AbstractNtlmAuthHandler()

Verify "normal" operation.
>>> abstrct = AbstractNtlmAuthHandler(urllib2.HTTPPasswordMgrWithDefaultRealm())
"""
        if password_mgr is None:
            password_mgr = urllib2.HTTPPasswordMgr()
        self.passwd = password_mgr
        self.add_password = self.passwd.add_password
        self._debuglevel = debuglevel
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号