Searched refs:CookieError (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Lib/http/ |
D | cookies.py | 145 class CookieError(Exception): class 312 raise CookieError("Invalid attribute %r" % (K,)) 318 raise CookieError("Invalid attribute %r" % (key,)) 342 raise CookieError("Invalid attribute %r" % (key,)) 351 raise CookieError('Attempt to set a reserved key %r' % (key,)) 353 raise CookieError('Illegal key %r' % (key,))
|
/third_party/python/Lib/test/ |
D | test_http_cookies.py | 220 with self.assertRaises(cookies.CookieError): 258 self.assertRaises(cookies.CookieError, 266 self.assertRaises(cookies.CookieError, 289 self.assertRaises(cookies.CookieError, 379 with self.assertRaises(cookies.CookieError): 397 with self.assertRaises(cookies.CookieError): 422 with self.assertRaises(cookies.CookieError):
|
/third_party/python/Doc/library/ |
D | http.cookies.rst | 35 On encountering an invalid cookie, :exc:`CookieError` is raised, so if your 37 and catch :exc:`CookieError` on parsing. 40 .. exception:: CookieError
|