Author martin.panter
Recipients fbidu, martin.panter
Date 2020-10-18.01:59:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2020-10-18 01:59:43martin.pantersetrecipients: + martin.panter, fbidu
2020-10-18 01:59:43martin.pantersetmessageid: <>
2020-10-18 01:59:43martin.panterlinkissue42062 messages
2020-10-18 01:59:43martin.pantercreate