Delete a cookie. Be sure to use the same `domain` and `path` settings as used to create the cookie.
(self, key, **kwargs)
| 1879 | self._cookies[name][key] = value |
| 1880 | |
| 1881 | def delete_cookie(self, key, **kwargs): |
| 1882 | """ Delete a cookie. Be sure to use the same `domain` and `path` |
| 1883 | settings as used to create the cookie. """ |
| 1884 | kwargs['max_age'] = -1 |
| 1885 | kwargs['expires'] = 0 |
| 1886 | self.set_cookie(key, '', **kwargs) |
| 1887 | |
| 1888 | def __repr__(self): |
| 1889 | out = '' |
nothing calls this directly
no test coverage detected