class Cookies(MutableMapping):
Method | __bool__ |
Undocumented |
Method | __delitem__ |
Undocumented |
Method | __getitem__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __setitem__ |
Undocumented |
Method | clear |
Delete all cookies. Optionally include a domain and path in order to only delete a subset of all the cookies. |
Method | delete |
Delete a cookie by name. May optionally include domain and path in order to specify exactly which cookie to delete. |
Method | extract_cookies |
Loads any cookies based on the response Set-Cookie headers. |
Method | get |
Get a cookie by name. May optionally include domain and path in order to specify exactly which cookie to retrieve. |
Method | set |
Set a cookie value by name. May optionally include domain and path. |
Method | set_cookie_header |
Sets an appropriate 'Cookie:' HTTP header on the Request . |
Method | update |
Undocumented |
Instance Variable | jar |
Undocumented |
Class | _CookieCompatRequest |
Wraps a Request instance up in a compatibility interface suitable for use with CookieJar operations. |
Class | _CookieCompatResponse |
Wraps a Request instance up in a compatibility interface suitable for use with CookieJar operations. |
Parameters | |
domain:str | Undocumented |
path:str | Undocumented |
Parameters | |
name:str | Undocumented |
domain:str | Undocumented |
path:str | Undocumented |
Set-Cookie
headers.Parameters | |
response:Response | Undocumented |
Parameters | |
name:str | Undocumented |
default:str | Undocumented |
domain:str | Undocumented |
path:str | Undocumented |
Returns | |
typing.Optional[ | Undocumented |
Parameters | |
name:str | Undocumented |
value:str | Undocumented |
domain:str | Undocumented |
path:str | Undocumented |