]> 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:15 +0000 (12:12 -0800)
committerGitHub <noreply@github.com>
Mon, 14 Feb 2022 20:12:15 +0000 (12:12 -0800)
commit502ad3930ee8fcf76026edfc06a33621363cebea
tree09f17a7e1219c38041e21c12c78c82fa0c7d21ed
parent1953f03174c18f315aca883babc3819828f868d8
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]