Cookies parsed into a :class:`FormsDict`. Signed cookies are NOT decoded. Use :meth:`get_cookie` if you expect signed cookies.
(self)
| 1052 | |
| 1053 | @DictProperty('environ', 'bottle.request.cookies', read_only=True) |
| 1054 | def cookies(self): |
| 1055 | """ Cookies parsed into a :class:`FormsDict`. Signed cookies are NOT |
| 1056 | decoded. Use :meth:`get_cookie` if you expect signed cookies. """ |
| 1057 | cookies = SimpleCookie(self.environ.get('HTTP_COOKIE','')).values() |
| 1058 | return FormsDict((c.key, c.value) for c in cookies) |
| 1059 | |
| 1060 | def get_cookie(self, key, default=None, secret=None): |
| 1061 | """ Return the content of a cookie. To read a `Signed Cookie`, the |