Skip to content

Commit 07cb9d5

Browse files
author
meig
committed
add interface to clear cookie
1 parent 13ce4f4 commit 07cb9d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pub/session/session.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ def send_form(self,action,method,data_map,add_header_=None,connect_timeout=10,re
8181
def report(self):
8282
self._cookie_stg.print_cookie()
8383

84+
def clear(self):
85+
self._cookie_stg.clear()
86+
8487
class AsyncSession(Session):
8588
def __init__(self):
8689
Session.__init__(self)

0 commit comments

Comments
 (0)