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.

classification
Title: http.client should be "runnable" like http.server
Type: enhancement Stage: patch review
Components: Library (Lib) Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Will Boyce, jaswdr
Priority: normal Keywords: patch

Created on 2019-09-16 22:02 by Will Boyce, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 26775 open jaswdr, 2021-06-17 19:13
Messages (1)
msg352586 - (view) Author: Will Boyce (Will Boyce) Date: 2019-09-16 22:02
I think it would be both sensible and useful if the `http.client` library exposed a "runnable" interface (similar to `http.server`). I would suggest keeping it simple, for example:

python -m http.client <url>
python -m http.client -o <file> <url>
History
Date User Action Args
2022-04-11 14:59:20adminsetgithub: 82374
2021-06-17 19:13:38jaswdrsetkeywords: + patch
nosy: + jaswdr

pull_requests: + pull_request25361
stage: patch review
2019-09-16 22:02:08Will Boycecreate