summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.server.rst
Commit message (Collapse)AuthorAgeFilesLines
* Docs: align usage of versionadded/versionchanged with recommended practice ↵Erlend E. Aasland2024-01-221-11/+11
| | | | | | (#114409) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-101100: Fix Sphinx warning in references with asterisks (#113029)Hugo van Kemenade2023-12-131-4/+4
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-109634: Use :samp: role (GH-109635)Serhiy Storchaka2023-09-231-1/+1
|
* gh-109096: Deprecate `http.server.CGIHTTPRequestHandler` (#109387)Gregory P. Smith2023-09-151-0/+13
| | | | | Deprecate `http.server.CGIHTTPRequestHandler`. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-91219: http - use subclassing to override index_pages attribute (GH-100731)Ethan Furman2023-01-031-0/+5
| | | Remove previously added parameter to `__init__`, and recommend subclassing to modify the `index_pages` attribute instead.
* gh-100001: Remove doc typo, add versionadded (#100042)Gregory P. Smith2022-12-051-1/+3
| | | gh-100001: Remove new doc typo, add versionadded.
* gh-100001: Omit control characters in http.server stderr logs. (#100002)Gregory P. Smith2022-12-051-0/+7
| | | Replace control characters in http.server.BaseHTTPRequestHandler.log_message with an escaped \xHH sequence to avoid causing problems for the terminal the output is printed to.
* gh-97822: Fix http.server documentation reference to test() function (#98027)JasonYZ2022-10-081-2/+2
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452)Christian Heimes2022-08-021-0/+2
| | | | | | Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Michael Droettboom <mdboom@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-81054: Document that SimpleHTTPRequestHandler follows symbolic links ↵Sam Ezeh2022-07-011-1/+12
| | | | (GH-94416)
* bpo-46285: Add command-line option -p/--protocol to module http.server (#30999)Géry Ogam2022-05-021-2/+13
| | | | Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776)Jelle Zijlstra2022-01-221-7/+12
| | | | | | | | Code link: https://github.com/python/cpython/blob/70c16468deee9390e34322d32fda57df6e0f46bb/Lib/http/server.py#L1270 It's been this way since at least 3.4. Also improved some wording in the same section.
* bpo-44765: [doc] fix typo (GH-27430)Pavel2021-07-291-1/+1
|
* bpo-44740: Make minor edits to lowercasing "internet" and "web". (GH-27385)Mariusz Felisiak2021-07-271-1/+1
| | | Follow up to 11749e2dc20ad6a76e9a39e948853e89b2b4bbed
* bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)Mariusz Felisiak2021-07-261-1/+1
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* Doc: http.server: directory is not a class attribute, but an argument. ↵Julien Palard2021-05-111-8/+8
| | | | | (GH-26017) * Doc: http.server: directory is not a class attribute, but an argument.
* BaseHTTPRequestHandler, that path includes query (#25597)Senthil Kumaran2021-04-251-1/+3
| | | | | * Clarify, for BaseHTTPRequestHandler, that path includes query Co-authored-by: David Jones <drj@pobox.com>
* bpo-35292: Avoid calling mimetypes.init when http.server is imported (GH-17822)An Long2020-01-081-3/+6
|
* bpo-35640: Allow passing PathLike arguments to SimpleHTTPRequestHandler ↵Géry Ogam2019-09-111-0/+3
| | | | (GH-11398)
* Adds IPv6 support when invoking http.server directly. (GH-10595)Lisa Roach2018-11-261-2/+6
|
* Simplify the warning for http.server. (#10116)Senthil Kumaran2018-10-261-4/+2
|
* bpo-34576 - Fix the formatting for security considerations in ↵Senthil Kumaran2018-10-201-5/+5
| | | | | | | | http.server.rst (#10005) * bpo-34576 - Fix the formatting for security considerations in http.server.rst * Address review comment.
* bpo-34576 warn users on security for http.server (#9720)Felipe Rodrigues2018-10-111-0/+8
| | | | It was proposed to add an warning for http.server regarding security issues. The wording was provided at bpo-26005 by @orsenthil
* bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195)Géry Ogam2018-05-291-2/+2
|
* fixed capitalization of class name (GH-6396)Alex Gaynor2018-04-061-1/+1
|
* FIX documentation and NEWS of ThreadedHTTPServer. (GH-6207)Julien Palard2018-03-281-2/+5
|
* bpo-31639: Use threads in http.server module. (GH-5018)Julien Palard2018-03-231-2/+9
|
* bpo-30160: Clarify intended usage of wfile (gh-1300)jugglinmike2017-05-241-1/+2
| | | | | | The library does not enforce compliance with the HTTP protocol, so violations are not technically disallowed. Extend the stream's description to avoid suggesting that intentional protocol violations are not supported.
* bpo-28707: Add the directory parameter to ↵Stéphane Wirtel2017-05-241-2/+13
| | | | | | | | http.server.SimpleHTTPRequestHandler and http.server module (#1776) * bpo-28707: call the constructor of SimpleHTTPRequestHandler in the test with a mock object * bpo-28707: Add the directory parameter to http.server.SimpleHTTPRequestHandler and http.server module
* bpo-29654 : Support If-Modified-Since HTTP header (browser cache) (#298)Pierre Quentel2017-04-021-4/+8
| | | | Return 304 response if file was not modified.
* Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1
|\
| * Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1
| |
* | Issue #26721: Change StreamRequestHandler.wfile to BufferedIOBaseMartin Panter2016-06-291-2/+5
| |
* | Merge Issue #22558.Terry Jan Reedy2016-06-111-2/+1
|\ \ | |/
| * Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-2/+1
| | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | Issue #25738: Merge HTTP server from 3.5Martin Panter2016-06-081-1/+3
|\ \ | |/
| * Issue #25738: Don’t send message body for 205 Reset ContentMartin Panter2016-06-081-1/+3
| | | | | | | | Patch by Susumu Koshiba.
* | Issue #20112: Improve BaseHTTPRequestHandler.error_message_format documentationBerker Peksag2016-04-231-18/+11
|\ \ | |/ | | | | | | | | | | | | * Explain how 'error_message_format' is used by 'send_error' method * Mention that 'responses' is used by 'send_response_only' and 'send_error' methods * Replace 'class variables' with 'attributes' Initial patch by Anastasia Filatova.
| * Issue #20112: Improve BaseHTTPRequestHandler.error_message_format documentationBerker Peksag2016-04-231-18/+11
| | | | | | | | | | | | | | | | * Explain how 'error_message_format' is used by 'send_error' method * Mention that 'responses' is used by 'send_response_only' and 'send_error' methods * Replace 'class variables' with 'attributes' Initial patch by Anastasia Filatova.
* | Issue #26404: Add context manager to socketserver, by Aviv PalivodaMartin Panter2016-04-131-4/+3
|/
* Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-2/+2
| | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple ↵Senthil Kumaran2015-06-151-1/+1
| | | | | | | | | documentation typos. Related Issues: #issue21528 #issue24453
* document the requestline and close_connection attributes, use real booleans, ↵Benjamin Peterson2015-02-181-0/+12
| | | | | | and add tests (closes #23410) Patch by Martin Panter.
* Address issue 18229 - Explain http.server.BaseHTTPRequestHandler's .headers ↵Senthil Kumaran2014-04-161-1/+4
| | | | | | attribute further. Initial patch by Caelyn McAulay.
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-6/+8
|
* whatsnew: http.server send_error explain parameter.R David Murray2014-01-031-6/+9
| | | | Also rewrote the send_error description for clarity and correct English.
* Issue #18758: Fixed and improved cross-references.Serhiy Storchaka2013-10-131-3/+3
|\
| * Issue #18758: Fixed and improved cross-references.Serhiy Storchaka2013-10-131-3/+3
| |
* | Expose --bind argument for http.server, enable http.server to bind to a userSenthil Kumaran2013-09-151-0/+9
| | | | | | | | | | | | | | | | specified network interface. Patch contributed by Malte Swart. Addresses issue #17764. HG :Enter commit message. Lines beginning with 'HG:' are removed.
* | Fix markup/wording.Ezio Melotti2013-03-161-1/+1
| |