浏览代码

Explicitly remove a cookie from the manager if we delete it.

pull/24/head
Ben Kurtovic 12 年前
父节点
当前提交
28fdad3975
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      toolserver/cookies.py

+ 1
- 0
toolserver/cookies.py 查看文件

@@ -51,3 +51,4 @@ def set_cookie(headers, cookies, key, value, days=0):

def delete_cookie(headers, cookies, key):
set_cookie(headers, cookies, key, u"", days=-1)
del cookies[key]

正在加载...
取消
保存