Markus Israelsson markus.israelsson@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@bugs.python.org https://bugs.python.org/issue42037 _______________________________________