Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-109096: Deprecatehttp.server.CGIHTTPRequestHandler#109387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
9 commits Select commitHold shift + click to select a range
6ea9d69 Deprecate `http.server.CGIHTTPRequestHandler`.
gpsheadfd3dbe5 satisfy older sphinx?
gpshead24ebc80 appease Older Sphinx?
gpsheadd1f0c73 docstring fixup.
gpshead3e3a5d3 docstring typo fixup
gpsheade1e9b22 Update Doc/library/http.server.rst
gpshead0c44758 unindent for older sphinx
gpshead7cd0b6f what's new entries.
gpsheadd95be85 Merge branch 'main' into deprecate/CGI
gpsheadFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
appease Older Sphinx?
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit24ebc8052cf515f9f2ca95d07c07a4fd99cb8de5
There are no files selected for viewing
16 changes: 9 additions & 7 deletionsDoc/library/http.server.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -503,20 +503,22 @@ following command runs an HTTP/1.1 conformant server:: | ||
| reasons. Problems with the CGI script will be translated to error 403. | ||
| .. deprecated-removed:: 3.13 3.15 | ||
| :class:`CGIHTTPRequestHandler` is being removed in 3.15. CGI has not | ||
| been considered a good way to do things for well over a decade, this code | ||
gpshead marked this conversation as resolved. OutdatedShow resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| has been unmaintained for a while now and sees very little practical use. | ||
| Retaining it could lead to further :ref:`security considerations | ||
| <http.server-security>`. | ||
| :class:`CGIHTTPRequestHandler` can be enabled in the command line by passing | ||
| the ``--cgi`` option:: | ||
| python -m http.server --cgi | ||
| .. deprecated-removed:: 3.13 3.15 | ||
| :mod:`http.server` command line ``--cgi`` support is being removed | ||
| because :class:`CGIHTTPRequestHandler` is being removed. | ||
| .. _http.server-security: | ||
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.