Home
last modified time | relevance | path

Searched refs:ignore_discard (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/
D_LWPCookieJar.py62 def as_lwp_str(self, ignore_discard=True, ignore_expires=True): argument
71 if not ignore_discard and cookie.discard:
78 def save(self, filename=None, ignore_discard=False, ignore_expires=False): argument
89 f.write(self.as_lwp_str(ignore_discard, ignore_expires))
93 def _really_load(self, f, filename, ignore_discard, ignore_expires): argument
159 if not ignore_discard and c.discard:
D_MozillaCookieJar.py47 def _really_load(self, f, filename, ignore_discard, ignore_expires): argument
100 if not ignore_discard and c.discard:
113 def save(self, filename=None, ignore_discard=False, ignore_expires=False): argument
123 if not ignore_discard and cookie.discard:
Dcookielib.py1767 def save(self, filename=None, ignore_discard=False, ignore_expires=False): argument
1771 def load(self, filename=None, ignore_discard=False, ignore_expires=False): argument
1779 self._really_load(f, filename, ignore_discard, ignore_expires)
1784 ignore_discard=False, ignore_expires=False): argument
1801 self.load(filename, ignore_discard, ignore_expires)
/external/python/cpython3/Lib/http/
Dcookiejar.py1773 def save(self, filename=None, ignore_discard=False, ignore_expires=False): argument
1777 def load(self, filename=None, ignore_discard=False, ignore_expires=False): argument
1784 self._really_load(f, filename, ignore_discard, ignore_expires)
1787 ignore_discard=False, ignore_expires=False): argument
1804 self.load(filename, ignore_discard, ignore_expires)
1854 def as_lwp_str(self, ignore_discard=True, ignore_expires=True): argument
1863 if not ignore_discard and cookie.discard:
1870 def save(self, filename=None, ignore_discard=False, ignore_expires=False): argument
1880 f.write(self.as_lwp_str(ignore_discard, ignore_expires))
1882 def _really_load(self, f, filename, ignore_discard, ignore_expires): argument
[all …]
/external/python/cpython2/Lib/test/
Dtest_cookielib.py275 c.save(filename, ignore_discard=True)
277 c.load(filename, ignore_discard=True)
406 c.save(ignore_expires=True, ignore_discard=True)
409 c.revert(ignore_expires=True, ignore_discard=True)
1574 c.save(filename, ignore_discard=True)
1578 c.load(filename, ignore_discard=True)
1632 def save_and_restore(cj, ignore_discard): argument
1634 cj.save(ignore_discard=ignore_discard)
1637 new_c.load(ignore_discard=ignore_discard)
/external/python/cpython3/Lib/test/
Dtest_http_cookiejar.py325 c.save(filename, ignore_discard=True)
327 c.load(filename, ignore_discard=True)
453 c.save(ignore_expires=True, ignore_discard=True)
456 c.revert(ignore_expires=True, ignore_discard=True)
1565 c.save(filename, ignore_discard=True)
1569 c.load(filename, ignore_discard=True)
1620 def save_and_restore(cj, ignore_discard): argument
1622 cj.save(ignore_discard=ignore_discard)
1625 new_c.load(ignore_discard=ignore_discard)
/external/python/cpython2/Doc/library/
Dcookielib.rst237 ask otherwise by passing a true *ignore_discard* argument.
242 .. method:: FileCookieJar.save(filename=None, ignore_discard=False, ignore_expires=False)
254 *ignore_discard*: save even cookies set to be discarded. *ignore_expires*: save
262 .. method:: FileCookieJar.load(filename=None, ignore_discard=False, ignore_expires=False)
280 .. method:: FileCookieJar.revert(filename=None, ignore_discard=False, ignore_expires=False)
/external/python/cpython3/Doc/library/
Dhttp.cookiejar.rst241 ask otherwise by passing a true *ignore_discard* argument.
246 .. method:: FileCookieJar.save(filename=None, ignore_discard=False, ignore_expires=False)
258 *ignore_discard*: save even cookies set to be discarded. *ignore_expires*: save
266 .. method:: FileCookieJar.load(filename=None, ignore_discard=False, ignore_expires=False)
282 .. method:: FileCookieJar.revert(filename=None, ignore_discard=False, ignore_expires=False)