MCPcopy Create free account
hub / github.com/sqlmapproject/sqlmap / cookies

Method cookies

thirdparty/bottle/bottle.py:1593–1597  ·  view source on GitHub ↗

Cookies parsed into a :class:`FormsDict`. Signed cookies are NOT decoded. Use :meth:`get_cookie` if you expect signed cookies.

(self)

Source from the content-addressed store, hash-verified

1591
1592 @DictProperty('environ', 'bottle.request.cookies', read_only=True)
1593 def cookies(self):
1594 """ Cookies parsed into a :class:`FormsDict`. Signed cookies are NOT
1595 decoded. Use :meth:`get_cookie` if you expect signed cookies. """
1596 cookies = SimpleCookie(self.environ.get('HTTP_COOKIE', '')).values()
1597 return FormsDict((c.key, c.value) for c in cookies)
1598
1599 def get_cookie(self, key, default=None, secret=None, digestmod=hashlib.sha256):
1600 """ Return the content of a cookie. To read a `Signed Cookie`, the

Callers

nothing calls this directly

Calls 3

FormsDictClass · 0.85
valuesMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected