This website works better with JavaScript.
Home
Help
Sign In
ben
/
copyvios
mirror of
https://github.com/earwig/copyvios
Watch
1
Star
1
Fork
0
Code
Releases
0
Activity
Browse Source
Explicitly remove a cookie from the manager if we delete it.
pull/24/head
Ben Kurtovic
12 years ago
parent
4c8d724039
commit
28fdad3975
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
toolserver/cookies.py
+ 1
- 0
toolserver/cookies.py
View File
@@ -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]
Write
Preview
Loading…
Cancel
Save