MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / delete_cookie

Method delete_cookie

thirdparty/bottle/bottle.py:2279–2284  ·  view source on GitHub ↗

Delete a cookie. Be sure to use the same `domain` and `path` settings as used to create the cookie.

(self, key, **kwargs)

Source from the content-addressed store, hash-verified

2277 self._cookies[name][key] = value
2278
2279 def delete_cookie(self, key, **kwargs):
2280 """ Delete a cookie. Be sure to use the same `domain` and `path`
2281 settings as used to create the cookie. """
2282 kwargs['max_age'] = -1
2283 kwargs['expires'] = 0
2284 self.set_cookie(key, '', **kwargs)
2285
2286 def __repr__(self):
2287 out = ''

Callers

nothing calls this directly

Calls 1

set_cookieMethod · 0.95

Tested by

no test coverage detected