summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httpservers.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou2017-09-071-1/+2
| | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility.
* bpo-31234: test_httpservers joins the server thread (#3188)Victor Stinner2017-08-221-0/+1
|
* bpo-31066: Fix test_httpservers.test_last_modified() (#2933)Victor Stinner2017-07-281-4/+6
| | | Write the temporary file on disk and then get its modification time.
* bpo-28707: Add the directory parameter to ↵Stéphane Wirtel2017-05-241-1/+6
| | | | | | | | 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-1/+58
| | | | Return 304 response if file was not modified.
* Issue #28548: Parse HTTP request version even if too many words receivedMartin Panter2016-11-191-0/+10
|
* Fixes tests broken by issue #27781.Steve Dower2016-09-081-0/+2
|
* Fix typo in test nameBerker Peksag2016-08-241-1/+1
| | | | Noticed by Xiang Zhang.
* Issue #25738: Merge HTTP server from 3.5Martin Panter2016-06-081-0/+44
|\
| * Issue #25738: Don’t send message body for 205 Reset ContentMartin Panter2016-06-081-0/+44
| | | | | | | | Patch by Susumu Koshiba.
* | Issue #27076: Merge spelling from 3.5Martin Panter2016-05-261-1/+1
|\ \ | |/
| * Issue #27076: Doc, comment and tests spelling fixesMartin Panter2016-05-261-1/+1
| | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* | Issue #26657: Merge http.server fix from 3.5Martin Panter2016-04-181-0/+19
|\ \ | |/
| * Issue #26657: Fix Windows directory traversal vulnerability with http.serverMartin Panter2016-04-181-0/+19
| | | | | | | | | | 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-111-1/+29
| | | | | | | | Patch by Xiang Zhang.
* | Issue #26609: Merge HTTP tests from 3.5Martin Panter2016-04-091-12/+29
|\ \ | |/
| * Issue #26609: Fix HTTP server tests to request an absolute URL pathMartin Panter2016-04-091-12/+29
| |
* | Issue #26586: Simple enhancements to BaseHTTPRequestHandler by Xiang ZhangMartin Panter2016-04-031-1/+1
| |
* | Issue #26586: Merge excessive HTTP header handling from 3.5Martin Panter2016-04-031-0/+7
|\ \ | |/
| * Issue #26586: Handle excessive header fields in http.server, by Xiang ZhangMartin Panter2016-04-031-0/+7
| |
* | Issue #747320: Use email.utils.formatdate() to avoid code duplicationBerker Peksag2016-03-141-0/+14
|/ | | | | | in BaseHTTPRequestHandler Initial patch by karlcow.
* Issues #25232, #24657: Use new enum status to match rest of testsMartin Panter2015-10-031-2/+2
|
* Issues #25232, #24657: Merge two CGI server fixes from 3.4 into 3.5Martin Panter2015-10-031-0/+31
|\
| * Issue #24657: Prevent CGIRequestHandler from collapsing the URL queryMartin Panter2015-10-031-0/+7
| | | | | | | | | | 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-031-0/+24
| | | | | | | | Patch from Xiang Zhang.
* | Issue #23440: Improve http.server.SimpleHTTPRequestHandler testsBerker Peksag2015-07-221-7/+29
| | | | | | | | | | | | | | * 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-071-48/+92
|/ | | | not as stringified enum. Patch by Demian Brecht.
* document the requestline and close_connection attributes, use real booleans, ↵Benjamin Peterson2015-02-181-0/+39
| | | | | | and add tests (closes #23410) Patch by Martin Panter.
* Issue #23418: Add missing entries to http.server.__all__.Berker Peksag2015-02-131-0/+14
| | | | Patch by Martin Panter.
* Issue #22165: Skip test_undecodable_filename on OS X prior to 10.5.Ned Deily2015-01-051-0/+1
| | | | 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-261-0/+6
| | | | (closes #23112)
* Issue #20155: Fix non-buildbot test failure on Windows. Patch by Claudiu Popa,Terry Jan Reedy2014-10-181-1/+1
| | | | revised by R. David Murray.
* Issue #22165: Fixed test_undecodable_filename on Mac OS.Serhiy Storchaka2014-08-171-0/+7
|
* Issue #22165: Fixed test_undecodable_filename on non-UTF-8 locales.Serhiy Storchaka2014-08-171-2/+3
|
* Issue #22165: SimpleHTTPRequestHandler now supports undecodable file names.Serhiy Storchaka2014-08-171-0/+19
|
* Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,Ned Deily2014-07-131-0/+16
|\ | | | | | | 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-131-0/+16
| |\ | | | | | | | | | 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-131-0/+16
| | | | | | | | | | | | 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-241-2/+3
| | | | | | | | | | | | | | | | | | | | | 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-171-1/+1
|\ \ \ | |/ /
| * | merge 3.2Benjamin Peterson2014-06-171-1/+1
| |\ \ | | |/
| | * expect the correct platform-dependent linesepBenjamin Peterson2014-06-171-1/+1
| | |
* | | merge 3.3 (#21766)Benjamin Peterson2014-06-151-0/+5
|\ \ \ | |/ /
| * | merge 3.2 (#21766)Benjamin Peterson2014-06-151-0/+5
| |\ \ | | |/
| | * url unquote the path before checking if it refers to a CGI script (closes ↵Benjamin Peterson2014-06-151-0/+5
| | | | | | | | | | | | #21766)
* | | Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵Serhiy Storchaka2014-02-081-1/+1
|\ \ \ | |/ / | | | | | | tests.
| * | Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵Serhiy Storchaka2014-02-081-1/+1
| | | | | | | | | | | | tests.
* | | merge 3.3 (#18574)Benjamin Peterson2014-01-191-2/+4
|\ \ \ | |/ /
| * | fix handling of 100-continue status code (closes #18574)Benjamin Peterson2014-01-191-2/+4
| | |
* | | merge 3.3 (#19435)Benjamin Peterson2013-10-301-0/+12
|\ \ \ | |/ /