Message378846
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:43 | martin.panter | set | recipients:
+ martin.panter, fbidu |
2020-10-18 01:59:43 | martin.panter | set | messageid: <1602986383.64.0.834944414953.issue42062@roundup.psfhosted.org> |
2020-10-18 01:59:43 | martin.panter | link | issue42062 messages |
2020-10-18 01:59:43 | martin.panter | create | |
|