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
75 .. class:: CookiePolicy()
87 other arguments, see the documentation for :class:`CookiePolicy` and
153 the :class:`CookieJar`'s :class:`CookiePolicy` instance are true and false
176 as appropriate (subject to the :meth:`CookiePolicy.set_ok` method's approval).
196 Set the :class:`CookiePolicy` instance to be used.
345 CookiePolicy Objects
348 Objects implementing the :class:`CookiePolicy` interface have the following
352 .. method:: CookiePolicy.set_ok(cookie, request)
361 .. method:: CookiePolicy.return_ok(cookie, request)
370 .. method:: CookiePolicy.domain_return_ok(domain, request)
394 .. method:: CookiePolicy.path_return_ok(path, request)
401 :class:`CookiePolicy` interface must also supply the following attributes,
406 .. attribute:: CookiePolicy.netscape
411 .. attribute:: CookiePolicy.rfc2965
416 .. attribute:: CookiePolicy.hide_cookie2
421 The most useful way to define a :class:`CookiePolicy` class is by subclassing
423 above. :class:`CookiePolicy` itself may be used as a 'null policy' to allow
450 In addition to the features required to implement the :class:`CookiePolicy`
613 circumstances in a :class:`CookiePolicy` method. The class does not enforce