]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46436: Fix command-line option -d/--directory in module http.server (GH-30701)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 14 Feb 2022 20:12:30 +0000 (12:12 -0800)
committerGitHub <noreply@github.com>
Mon, 14 Feb 2022 20:12:30 +0000 (12:12 -0800)
commitb27195332e91e932501f16cf9877761b218a9c99
tree0f524173f4a68140c74f05b745d05ec2ae3c2e7c
parent543242ad8ccbf098c23a192a0f2b0767d9ee198a
bpo-46436: Fix command-line option -d/--directory in module http.server (GH-30701)

Fix command-line option -d/--directory in http.server main
function that was ignored when combined with --cgi.

Automerge-Triggered-By: GH:merwok
(cherry picked from commit 2d080347d74078a55c47715d232d1ab8dc8cd603)

Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
Lib/http/server.py
Misc/NEWS.d/next/Library/2022-01-23-19-37-00.bpo-46436.Biz1p9.rst [new file with mode: 0644]