Better cookie docs on sessions.

This commit is contained in:
Cory Benfield
2013-07-24 13:25:59 +01:00
parent b65b8c5ed3
commit f40a1d6a8a
+4 -1
View File
@@ -211,7 +211,10 @@ class Session(SessionRedirectMixin):
#: Should we trust the environment?
self.trust_env = True
# Set up a CookieJar to be used by default
#: A CookieJar containing all currently outstanding cookies set on this
#: session. By default is a
#: :class:`RequestsCookieJar <requests.cookies.RequestsCookieJar>`, but
#: may be any other ``CookieJar``.
self.cookies = cookiejar_from_dict({})
# Default connection adapters.