|
@@ -19,7 +19,7 @@ def main(context, environ, headers): |
|
|
set_cookie(headers, cookies, key, query.project, 365) |
|
|
set_cookie(headers, cookies, key, query.project, 365) |
|
|
elif query.action == "delete": |
|
|
elif query.action == "delete": |
|
|
if query.cookie in cookies: |
|
|
if query.cookie in cookies: |
|
|
delete_cookie(headers, cookies, query.cookie) |
|
|
|
|
|
|
|
|
delete_cookie(headers, cookies, query.cookie.encode("utf8")) |
|
|
elif query.all: |
|
|
elif query.all: |
|
|
for cookie in cookies.values(): |
|
|
for cookie in cookies.values(): |
|
|
delete_cookie(headers, cookies, cookie.key) |
|
|
delete_cookie(headers, cookies, cookie.key) |
|
|