Lines Matching refs:CookiePolicy
63 *policy* is an object implementing the :class:`CookiePolicy` interface.
73 *policy* is an object implementing the :class:`CookiePolicy` interface. For the
82 .. class:: CookiePolicy()
94 other arguments, see the documentation for :class:`CookiePolicy` and
159 the :class:`CookieJar`'s :class:`CookiePolicy` instance are true and false
176 as appropriate (subject to the :meth:`CookiePolicy.set_ok` method's approval).
192 Set the :class:`CookiePolicy` instance to be used.
348 CookiePolicy Objects
351 Objects implementing the :class:`CookiePolicy` interface have the following
355 .. method:: CookiePolicy.set_ok(cookie, request)
364 .. method:: CookiePolicy.return_ok(cookie, request)
373 .. method:: CookiePolicy.domain_return_ok(domain, request)
397 .. method:: CookiePolicy.path_return_ok(path, request)
404 :class:`CookiePolicy` interface must also supply the following attributes,
409 .. attribute:: CookiePolicy.netscape
414 .. attribute:: CookiePolicy.rfc2965
419 .. attribute:: CookiePolicy.hide_cookie2
424 The most useful way to define a :class:`CookiePolicy` class is by subclassing
426 above. :class:`CookiePolicy` itself may be used as a 'null policy' to allow
453 In addition to the features required to implement the :class:`CookiePolicy`
620 circumstances in a :class:`CookiePolicy` method. The class does not enforce