aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_httpservers.py
Commit message (Collapse)AuthorAge
* bpo-35640: Allow passing PathLike arguments to SimpleHTTPRequestHandler ↵Géry Ogam2019-09-11
| | | | (GH-11398)
* bpo-37369: Fix initialization of sys members when launched via an app ↵Steve Dower2019-06-29
| | | | | | | container (GH-14428) sys._base_executable is now always defined on all platforms, and can be overridden through configuration. Also adds test.support.PythonSymlink to encapsulate platform-specific logic for symlinking sys.executable
* bpo-24209: In http.server script, rely on getaddrinfo to bind to preferred ↵Jason R. Coombs2019-02-07
| | | | | | | address based on the bind parameter. (#11767) In http.server script, rely on getaddrinfo to bind to preferred address based on the bind parameter. As a result, now IPv6 is used as the default (including IPv4 on dual-stack systems). Enhanced tests.
* Adds IPv6 support when invoking http.server directly. (GH-10595)Lisa Roach2018-11-26
|
* bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (#4720)Ned Deily2017-12-04
| | | The undecodable file name cannot be created on macOS APFS file systems.
* bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou2017-09-07
| | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility.
* bpo-31234: test_httpservers joins the server thread (#3188)Victor Stinner2017-08-22
|
* bpo-31066: Fix test_httpservers.test_last_modified() (#2933)Victor Stinner2017-07-28
| | | Write the temporary file on disk and then get its modification time.
* bpo-28707: Add the directory parameter to ↵Stéphane Wirtel2017-05-24
| | | | | | | | 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-02
| | | | Return 304 response if file was not modified.
* Issue #28548: Parse HTTP request version even if too many words receivedMartin Panter2016-11-19
|
* Fixes tests broken by issue #27781.Steve Dower2016-09-08
|
* Fix typo in test nameBerker Peksag2016-08-25
| | | | Noticed by Xiang Zhang.
* Issue #25738: Merge HTTP server from 3.5Martin Panter2016-06-08
|\
| * Issue #25738: Don’t send message body for 205 Reset ContentMartin Panter2016-06-08
| | | | | | | | Patch by Susumu Koshiba.
* | Issue #27076: Merge spelling from 3.5Martin Panter2016-05-26
|\|
| * Issue #27076: Doc, comment and tests spelling fixesMartin Panter2016-05-26
| | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* | Issue #26657: Merge http.server fix from 3.5Martin Panter2016-04-18
|\|
| * Issue #26657: Fix Windows directory traversal vulnerability with http.serverMartin Panter2016-04-18
| | | | | | | | | | Based on patch by Philipp Hagemeister. This fixes a regression caused by revision f4377699fd47.
* | Issue #26585: Eliminate _quote_html() and use html.escape(quote=False)Martin Panter2016-04-11
| | | | | | | | Patch by Xiang Zhang.
* | Issue #26609: Merge HTTP tests from 3.5Martin Panter2016-04-09
|\|
| * Issue #26609: Fix HTTP server tests to request an absolute URL pathMartin Panter2016-04-09
| |
* | Issue #26586: Simple enhancements to BaseHTTPRequestHandler by Xiang ZhangMartin Panter2016-04-03
| |
* | Issue #26586: Merge excessive HTTP header handling from 3.5Martin Panter2016-04-03
|\|
| * Issue #26586: Handle excessive header fields in http.server, by Xiang ZhangMartin Panter2016-04-03
| |
* | Issue #747320: Use email.utils.formatdate() to avoid code duplicationBerker Peksag2016-03-14
|/ | | | | | in BaseHTTPRequestHandler Initial patch by karlcow.
* Issues #25232, #24657: Use new enum status to match rest of testsMartin Panter2015-10-03
|
* Issues #25232, #24657: Merge two CGI server fixes from 3.4 into 3.5Martin Panter2015-10-03
|\
| * Issue #24657: Prevent CGIRequestHandler from collapsing the URL queryMartin Panter2015-10-03
| | | | | | | | | | Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc string.
| * Issue #25232: Fix CGIRequestHandler's splitting of URL queryMartin Panter2015-10-03
| | | | | | | | Patch from Xiang Zhang.
* | Issue #23440: Improve http.server.SimpleHTTPRequestHandler testsBerker Peksag2015-07-22
| | | | | | | | | | | | | | * Tests that index.html is served, rather than an automatic directory listing * Tests that there is no extra data sent after the response Patch by Martin Panter.
* | Issue #21793: BaseHTTPRequestHandler again logs response code as numeric,Serhiy Storchaka2015-03-07
|/ | | | not as stringified enum. Patch by Demian Brecht.
* document the requestline and close_connection attributes, use real booleans, ↵Benjamin Peterson2015-02-17
| | | | | | and add tests (closes #23410) Patch by Martin Panter.
* Issue #23418: Add missing entries to http.server.__all__.Berker Peksag2015-02-13
| | | | Patch by Martin Panter.
* Issue #22165: Skip test_undecodable_filename on OS X prior to 10.5.Ned Deily2015-01-05
| | | | 10.4 systems do not allow creation of files with such filenames.
* fix behavior of trailing slash redirection when a query string is involved ↵Benjamin Peterson2014-12-26
| | | | (closes #23112)
* Issue #20155: Fix non-buildbot test failure on Windows. Patch by Claudiu Popa,Terry Jan Reedy2014-10-18
| | | | revised by R. David Murray.
* Issue #22165: Fixed test_undecodable_filename on Mac OS.Serhiy Storchaka2014-08-17
|
* Issue #22165: Fixed test_undecodable_filename on non-UTF-8 locales.Serhiy Storchaka2014-08-17
|
* Issue #22165: SimpleHTTPRequestHandler now supports undecodable file names.Serhiy Storchaka2014-08-17
|
* Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,Ned Deily2014-07-12
|\ | | | | | | broken by the fix for security issue #19435. Patch by Zach Byrne.
| * Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,Ned Deily2014-07-12
| |\ | | | | | | | | | broken by the fix for security issue #19435. Patch by Zach Byrne.
| | * Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,Ned Deily2014-07-12
| | | | | | | | | | | | broken by the fix for security issue #19435. Patch by Zach Byrne.
* | | #20155: use fake HTTP method names so windows doesn't hang the tests.R David Murray2014-06-24
| | | | | | | | | | | | | | | | | | | | | Windows was seeing the 'GET' generated by these tests as invalid and forcibly closing the socket, causing the test to fail. Patch by Jeff Allen.
* | | merge 3.3Benjamin Peterson2014-06-16
|\| |
| * | merge 3.2Benjamin Peterson2014-06-16
| |\|
| | * expect the correct platform-dependent linesepBenjamin Peterson2014-06-16
| | |
* | | merge 3.3 (#21766)Benjamin Peterson2014-06-14
|\| |
| * | merge 3.2 (#21766)Benjamin Peterson2014-06-14
| |\|
| | * url unquote the path before checking if it refers to a CGI script (closes ↵Benjamin Peterson2014-06-14
| | | | | | | | | | | | #21766)