Lines Matching refs:CookiePolicy
56 *policy* is an object implementing the :class:`CookiePolicy` interface.
66 *policy* is an object implementing the :class:`CookiePolicy` interface. For the
79 .. class:: CookiePolicy()
94 :class:`CookiePolicy` and :class:`DefaultCookiePolicy` objects.
159 the :class:`CookieJar`'s :class:`CookiePolicy` instance are true and false
182 as appropriate (subject to the :meth:`CookiePolicy.set_ok` method's approval).
202 Set the :class:`CookiePolicy` instance to be used.
354 CookiePolicy Objects
357 Objects implementing the :class:`CookiePolicy` interface have the following
361 .. method:: CookiePolicy.set_ok(cookie, request)
370 .. method:: CookiePolicy.return_ok(cookie, request)
379 .. method:: CookiePolicy.domain_return_ok(domain, request)
403 .. method:: CookiePolicy.path_return_ok(path, request)
410 :class:`CookiePolicy` interface must also supply the following attributes,
415 .. attribute:: CookiePolicy.netscape
420 .. attribute:: CookiePolicy.rfc2965
425 .. attribute:: CookiePolicy.hide_cookie2
430 The most useful way to define a :class:`CookiePolicy` class is by subclassing
432 above. :class:`CookiePolicy` itself may be used as a 'null policy' to allow
459 In addition to the features required to implement the :class:`CookiePolicy`
622 circumstances in a :class:`CookiePolicy` method. The class does not enforce