[issue42037] Documentation confusion in CookieJar functions
Markus Israelsson
report at bugs.python.org
Tue Oct 20 01:45:04 EDT 2020
Markus Israelsson <markus.israelsson at surgicalscience.com> added the comment:
The way I read the documentation for add_cookie_header is:
These methods must exist in the Request object:
- get_full_url()
- get_host()
- get_type()
- unverifiable... and so on.
The documentation for the request objects claims however that:
These methods are removed since version 3.4:
- add_data
- has_data
- get_data
- get_type
- get_host - This method , and some others, are listed as requirements for the add_cookie_header and extract_cookies functions. See list above or link I posted above to the correct places in the docs.
So it is only the documentation that is inconsistent. Not the code.
Unless, like I said, I misunderstand something in the documentation.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42037>
_______________________________________
More information about the Python-bugs-list
mailing list