Uh oh!
There was an error while loading. Please reload this page.
bpo-46285: Add command-line option -p/--protocol to module http.server - #30999
Conversation
merwok
commented
Jan 29, 2022
Thanks for the the PR! Let’s merge this one after the bug fix to the same module. |
5323621 to
f5e0dc4CompareUh oh!
There was an error while loading. Please reload this page.
merwok
commented
Feb 4, 2022
Please avoid rebases and force-pushes for CPython, github does not have a good experience for reviewers. |
Uh oh!
There was an error while loading. Please reload this page.
orsenthil
left a comment
There was a problem hiding this comment.
LGTM.
I had a brief hesitancy for exposing this protocol version via flag as the support is not comprehensive. I am pretty sure we are missing many features.
But given that class supports .protocol_version as a attribute, exposing it via a command line flag is alright.
geryogam
commented
May 3, 2022
Thanks @merwok, @JelleZijlstra, and @orsenthil for the review! |
This PR will add command-line option
-p/--protocolto modulehttp.serverwhich specifies the HTTP version to which the server is conformant (HTTP/1.1 servers can now be run from the command-line interface of modulehttp.server):https://bugs.python.org/issue46285