requests.py 文件源码

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

项目:recon-ng 作者: captainhooligan 项目源码 文件源码
def __init__(self, **kwargs):
        '''Initializes control parameters as class attributes.'''
        self.user_agent = "Python-urllib/%s" % (urllib2.__version__) if 'user_agent' not in kwargs else kwargs['user_agent']
        self.debug = False if 'debug' not in kwargs else kwargs['debug']
        self.proxy = None if 'proxy' not in kwargs else kwargs['proxy']
        self.timeout = None if 'timeout' not in kwargs else kwargs['timeout']
        self.redirect = True if 'redirect' not in kwargs else kwargs['redirect']
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号