Home
last modified time | relevance | path

Searched refs:CookieError (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/http/
Dcookies.py145 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/
Dtest_http_cookies.py220 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/
Dhttp.cookies.rst35 On encountering an invalid cookie, :exc:`CookieError` is raised, so if your
37 and catch :exc:`CookieError` on parsing.
40 .. exception:: CookieError