Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/http/
Dcookies.py144 class CookieError(Exception): class
311 raise CookieError("Invalid attribute %r" % (K,))
317 raise CookieError("Invalid attribute %r" % (key,))
341 raise CookieError("Invalid attribute %r" % (key,))
350 raise CookieError('Attempt to set a reserved key %r' % (key,))
352 raise CookieError('Illegal key %r' % (key,))
/external/python/cpython3/Lib/test/
Dtest_http_cookies.py207 with self.assertRaises(cookies.CookieError):
245 self.assertRaises(cookies.CookieError,
253 self.assertRaises(cookies.CookieError,
276 self.assertRaises(cookies.CookieError,
366 with self.assertRaises(cookies.CookieError):
384 with self.assertRaises(cookies.CookieError):
409 with self.assertRaises(cookies.CookieError):
/external/python/cpython2/Lib/
DCookie.py229 class CookieError(Exception): class
443 raise CookieError("Invalid Attribute %s" % K)
457 raise CookieError("Attempt to set a reserved key: %s" % key)
459 raise CookieError("Illegal key value: %s" % key)
/external/python/cpython3/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
/external/python/cpython2/Doc/library/
Dcookie.rst36 On encountering an invalid cookie, :exc:`CookieError` is raised, so if your
38 and catch :exc:`CookieError` on parsing.
41 .. exception:: CookieError