瀏覽代碼

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]

Loading…
取消
儲存