Title: http.client should be "runnable" like http.server
Type: enhancement Stage: patch review
Components: Library (Lib) Versions:
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 2021-06-17 19:13 by jaswdr.

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>
Date User Action Args
2021-06-17 19:13:38jaswdrsetkeywords: + patch
nosy: + jaswdr

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