Author martin.panter
Recipients fbidu, martin.panter
Date 2020-10-18.01:59:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602986383.64.0.834944414953.issue42062@roundup.psfhosted.org>
In-reply-to
Content
There is a comment in the HTTPResponse class regarding these methods:

# For compatibility with old-style urllib responses.

They were there for the "urlopen" API in "urllib.request", not for the "http.client" module on its own. I expect the "url" attribute is set by the "urlopen" code.

However more recently (Issue 12707) the "url" attribute and "geturl" method were documented in the HTTPResponse documentation, which is awkward.
History
Date User Action Args
2020-10-18 01:59:43martin.pantersetrecipients: + martin.panter, fbidu
2020-10-18 01:59:43martin.pantersetmessageid: <1602986383.64.0.834944414953.issue42062@roundup.psfhosted.org>
2020-10-18 01:59:43martin.panterlinkissue42062 messages
2020-10-18 01:59:43martin.pantercreate