PyDocs

Nav

Internet Protocols and Support

CookieJar.clear

  • CookieJar.clear([domain[, path[, name]]])
Clear some cookies.

Invoking this method without arguments will clear all cookies.  If
given a single argument, only cookies belonging to that domain will be
removed.  If given two arguments, cookies belonging to the specified
path within that domain are removed.  If given three arguments, then
the cookie with the specified name, path and domain is removed.

Raises KeyError if no matching cookie exists.
0 Examples
No examples for http.cookiejar/CookieJar.clear.
See Also
No see-alsos for http.cookiejar/CookieJar.clear
0 Notes
No notes for CookieJar.clear