MCPcopy
hub / github.com/pyload/pyload / COOKIES

Method COOKIES

module/lib/bottle.py:1335–1341  ·  view source on GitHub ↗

A dict-like SimpleCookie instance. This should not be used directly. See :meth:`set_cookie`.

(self)

Source from the content-addressed store, hash-verified

1333
1334 @property
1335 def COOKIES(self):
1336 """ A dict-like SimpleCookie instance. This should not be used directly.
1337 See :meth:`set_cookie`. """
1338 depr('The COOKIES dict is deprecated. Use `set_cookie()` instead.') # 0.10
1339 if not self._cookies:
1340 self._cookies = SimpleCookie()
1341 return self._cookies
1342
1343 def set_cookie(self, name, value, secret=None, **options):
1344 ''' Create a new cookie or replace an old one. If the `secret` parameter is

Callers

nothing calls this directly

Calls 1

deprFunction · 0.85

Tested by

no test coverage detected