summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httpservers.py
Commit message (Collapse)AuthorAgeFilesLines
* Correct print() calls to print a blank line in various test casesMartin Panter2016-09-101-1/+1
|
* Issue #25738: Don’t send message body for 205 Reset ContentMartin Panter2016-06-081-0/+38
| | | | Patch by Susumu Koshiba.
* Issue #26657: Fix SimpleHTTPServer Windows directory traversal vulnerabilityMartin Panter2016-04-181-0/+20
| | | | | Based on patch by Philipp Hagemeister. This fixes a regression caused by revision 6b314f5c9404.
* Issue #26609: Fix up Python 2 portMartin Panter2016-04-091-6/+6
|
* Issue #26609: Fix HTTP server tests to request an absolute URL pathMartin Panter2016-04-091-10/+27
|
* 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/+22
| | | | Patch from Xiang Zhang.
* 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 #21323: Fix CGIHTTPServer to again handle scripts in CGI subdirectories,Ned Deily2014-07-131-0/+14
| | | | 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.
* url unquote the path before checking if it refers to a CGI script (closes ↵Benjamin Peterson2014-06-151-0/+5
| | | | #21766)
* use with statementBenjamin Peterson2014-04-041-12/+10
|
* explicitly close file object (#21128)Benjamin Peterson2014-04-041-0/+1
|
* Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵Serhiy Storchaka2014-02-081-1/+1
| | | | tests.
* use the collapsed path in the run_cgi method (closes #19435)Benjamin Peterson2013-10-301-0/+10
|
* Fix SimpleHTTPServer's request handling case on trailing '/'.Senthil Kumaran2013-09-131-0/+3
| | | | Patch contributed by Vajrasky Kok. Addresses Issue #17324
* Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn ↵Senthil Kumaran2012-04-111-36/+38
| | | | Linderman. Refactor code and tests
* fix the incorrect changes made for PATH_INFO value - Issue10484Senthil Kumaran2012-04-101-1/+1
|
* 2.7 - Issue #10484: Fix the CGIHTTPServer's PATH_INFO handling problemSenthil Kumaran2012-03-161-0/+1
|
* Issue #13308: Fix test_httpservers failures when run as root.Charles-François Natali2011-11-021-2/+7
|
* #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
|
* svnmerge fooled me. That test class already existed.Antoine Pitrou2010-12-161-88/+9
|
* Merged revisions 87317 via svnmerge fromAntoine Pitrou2010-12-161-0/+109
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87317 | antoine.pitrou | 2010-12-16 17:48:36 +0100 (jeu., 16 déc. 2010) | 4 lines Issue #10714: Limit length of incoming request in http.server to 65536 bytes for security reasons. Initial patch by Ross Lagerwall. ........ (also backported some tests)
* Merged revisions 86006 via svnmerge fromBrian Curtin2010-10-311-0/+1
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86006 | brian.curtin | 2010-10-30 19:34:23 -0500 (Sat, 30 Oct 2010) | 3 lines Fix ResourceWarning for an unclosed socket. test_return_header_keep_alive - Added a cleanup call for the socket. ........
* Merged revisions 85202 via svnmerge fromSenthil Kumaran2010-10-031-0/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85202 | senthil.kumaran | 2010-10-03 23:25:45 +0530 (Sun, 03 Oct 2010) | 4 lines Fix Issue9272 - Change CGIHTTPServer to give the child program a copy of os.environ ........
* Added BaseHTTPRequestHandler related tests.Senthil Kumaran2010-09-301-4/+82
|
* Issue #7449, last part (11): fix many tests if thread support is disabledVictor Stinner2010-04-271-1/+1
| | | | | | * Use try/except ImportError or test_support.import_module() to import thread and threading modules * Add @unittest.skipUnless(threading, ...) to testcases using threads
* Replace a Lock with a better suited Event.Antoine Pitrou2010-04-251-6/+5
|
* #7668: Fix test_httpservers failure when sys.executable contains non-ASCII ↵Florent Xicluna2010-03-221-2/+12
| | | | bytes.
* Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* ↵Florent Xicluna2010-03-191-30/+30
| | | | and setUp/tearDown.
* (Hopefully) suppress transient refleaks in test_httpservers.Antoine Pitrou2009-10-271-0/+2
|
* Move restoration of the os.environ object into the context manager where it ↵Nick Coghlan2009-10-171-1/+0
| | | | belongs
* Revert changes made to environment in test_httpserversNick Coghlan2009-10-171-3/+6
|
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-2/+2
|
* - Issue #2254: Fix CGIHTTPServer information disclosure. Relative paths areGregory P. Smith2009-04-061-0/+46
| | | | now collapsed within the url properly before looking in cgi_directories.
* Argh, this is the *actual* test that works under Windows.Georg Brandl2008-05-201-9/+12
|
* Activate two more test cases in test_httpservers.Georg Brandl2008-05-201-3/+3
|
* GHOP #134, #171, #137: unit tests for the three HTTPServer modules.Georg Brandl2008-05-181-0/+351