[issue38193] http.client should be "runnable" like http.server

2021-06-17 Thread Jonathan Schweder
Change by Jonathan Schweder : -- keywords: +patch nosy: +jaswdr nosy_count: 1.0 -> 2.0 pull_requests: +25361 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26775 ___ Python tracker

[issue38193] http.client should be "runnable" like http.server

2019-09-16 Thread Will Boyce
New submission from Will Boyce : 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 python -m http.client -o -- components: