def create_cookie(host, path, secure, expires, name, value):
"""Shortcut function to create a cookie
"""
return cookielib.Cookie(0, name, value, None, False, host, host.startswith('.'), host.startswith('.'), path, True, secure, expires, False, None, None, {})
__init__.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录