cookie.py 文件源码

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

项目:htcap_mysql 作者: 0xa-saline 项目源码 文件源码
def get_cookielib_cookie(self):
        return cookielib.Cookie(
            version = 0, 
            name = self.name,
            value = self.value,
            port = None, 
            port_specified = False, 
            domain =  self.domain if self.domain else "" , # is this ok?
            domain_specified = True, 
            domain_initial_dot = False, 
            path = self.path,
            path_specified = True, 
            secure = self.secure,
            expires = self.expires, 
            discard = True, 
            comment = None, 
            comment_url = None, 
            rest = None
        )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号