PyDocs

Nav

Internet Protocols and Support

CookieJar

  • CookieJar(policy=None)
Collection of HTTP cookies.

You may not need to know about this class: try
urllib.request.build_opener(HTTPCookieProcessor).open(url).
Members of CookieJar

a

add_cookie_header
Add correct Cookie: header to request (urllib.request.Request object).

c

clear
Clear some cookies.
clear_session_cookies
Discard all session cookies.

e

extract_cookies
Extract cookies from response, where allowable given the request.

m

make_cookies
Return sequence of Cookie objects extracted from response object.

s

set_cookie
Set a cookie, without checking whether or not it should be set.
set_cookie_if_ok
Set a cookie if policy says it's OK to do so.
set_policy
Set the CookiePolicy instance to be used.
0 Examples
No examples for http.cookiejar/CookieJar.
See Also
No see-alsos for http.cookiejar/CookieJar
0 Notes
No notes for CookieJar