This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | henrik242 |
|---|---|
| Recipients | apetresc, henrik242 |
| Date | 2020年03月06日.14:15:27 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1583504127.46.0.516661941769.issue39875@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
Also, it seems that urllib.urlopen just creates a similar Request object when given a data paramenter: def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): # accept a URL or a Request object if isinstance(fullurl, str): req = Request(fullurl, data) else: req = fullurl if data is not None: req.data = data From https://github.com/python/cpython/blob/3.7/Lib/urllib/request.py#L507 via https://github.com/python/cpython/blob/3.7/Lib/urllib/request.py#L222 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020年03月06日 14:15:27 | henrik242 | set | recipients: + henrik242, apetresc |
| 2020年03月06日 14:15:27 | henrik242 | set | messageid: <1583504127.46.0.516661941769.issue39875@roundup.psfhosted.org> |
| 2020年03月06日 14:15:27 | henrik242 | link | issue39875 messages |
| 2020年03月06日 14:15:27 | henrik242 | create | |