Searched refs:CookieError (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Lib/http/ |
D | cookies.py | 144 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/ |
D | test_http_cookies.py | 207 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/ |
D | Cookie.py | 229 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/ |
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
|
/external/python/cpython2/Doc/library/ |
D | cookie.rst | 36 On encountering an invalid cookie, :exc:`CookieError` is raised, so if your 38 and catch :exc:`CookieError` on parsing. 41 .. exception:: CookieError
|