Pierre Quentel
351adda54b
bpo-29654 : Support If-Modified-Since HTTP header (browser cache) ( #298 )
...
Return 304 response if file was not modified.
2017-04-02 13:26:12 +03:00
Martin Panter
e82338ddab
Issue #28548 : Parse HTTP request version even if too many words received
2016-11-19 01:06:37 +00:00
Steve Dower
e58571b7ea
Fixes tests broken by issue #27781 .
2016-09-08 11:11:13 -07:00
Berker Peksag
208536132b
Fix typo in test name
...
Noticed by Xiang Zhang.
2016-08-25 01:13:34 +03:00
Martin Panter
40de69ac58
Issue #25738 : Merge HTTP server from 3.5
2016-06-08 09:45:58 +00:00
Martin Panter
e42e129ebe
Issue #25738 : Don’t send message body for 205 Reset Content
...
Patch by Susumu Koshiba.
2016-06-08 08:29:13 +00:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Martin Panter
791ac54a44
Issue #26657 : Merge http.server fix from 3.5
2016-04-18 07:16:17 +00:00
Martin Panter
d274b3f1f1
Issue #26657 : Fix Windows directory traversal vulnerability with http.server
...
Based on patch by Philipp Hagemeister. This fixes a regression caused by
revision f4377699fd47.
2016-04-18 03:45:18 +00:00
Martin Panter
da3bb38452
Issue #26585 : Eliminate _quote_html() and use html.escape(quote=False)
...
Patch by Xiang Zhang.
2016-04-11 00:40:08 +00:00
Martin Panter
ae197c9392
Issue #26609 : Merge HTTP tests from 3.5
2016-04-09 12:51:41 +00:00
Martin Panter
fc475a9fa6
Issue #26609 : Fix HTTP server tests to request an absolute URL path
2016-04-09 04:56:10 +00:00
Martin Panter
50badad807
Issue #26586 : Simple enhancements to BaseHTTPRequestHandler by Xiang Zhang
2016-04-03 01:28:53 +00:00
Martin Panter
b93e4b2480
Issue #26586 : Merge excessive HTTP header handling from 3.5
2016-04-03 01:28:49 +00:00
Martin Panter
acc03195b0
Issue #26586 : Handle excessive header fields in http.server, by Xiang Zhang
2016-04-03 00:45:46 +00:00
Berker Peksag
04bc5b9e48
Issue #747320 : Use email.utils.formatdate() to avoid code duplication
...
in BaseHTTPRequestHandler
Initial patch by karlcow.
2016-03-14 06:06:03 +02:00
Martin Panter
eb1fee9353
Issues #25232 , #24657 : Use new enum status to match rest of tests
2015-10-03 06:07:22 +00:00
Martin Panter
56b76d25dd
Issues #25232 , #24657 : Merge two CGI server fixes from 3.4 into 3.5
2015-10-03 06:03:25 +00:00
Martin Panter
cb29e8c0e5
Issue #24657 : Prevent CGIRequestHandler from collapsing the URL query
...
Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc
string.
2015-10-03 05:55:46 +00:00
Martin Panter
a02e18a43f
Issue #25232 : Fix CGIRequestHandler's splitting of URL query
...
Patch from Xiang Zhang.
2015-10-03 05:38:07 +00:00
Berker Peksag
b5754321d0
Issue #23440 : Improve http.server.SimpleHTTPRequestHandler tests
...
* 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.
2015-07-22 19:25:37 +03:00
Serhiy Storchaka
c0a23e6320
Issue #21793 : BaseHTTPRequestHandler again logs response code as numeric,
...
not as stringified enum. Patch by Demian Brecht.
2015-03-07 11:51:37 +02:00
Benjamin Peterson
70e2847347
document the requestline and close_connection attributes, use real booleans, and add tests ( closes #23410 )
...
Patch by Martin Panter.
2015-02-17 21:11:10 -05:00
Berker Peksag
366c570d1f
Issue #23418 : Add missing entries to http.server.__all__.
...
Patch by Martin Panter.
2015-02-13 20:48:15 +02:00
Ned Deily
1418320850
Issue #22165 : Skip test_undecodable_filename on OS X prior to 10.5.
...
10.4 systems do not allow creation of files with such filenames.
2015-01-05 01:02:30 -08:00
Benjamin Peterson
94cb7a2429
fix behavior of trailing slash redirection when a query string is involved ( closes #23112 )
2014-12-26 10:53:43 -06:00
Terry Jan Reedy
dd09efdd53
Issue #20155 : Fix non-buildbot test failure on Windows. Patch by Claudiu Popa,
...
revised by R. David Murray.
2014-10-18 17:10:09 -04:00
Serhiy Storchaka
d9e9528818
Issue #22165 : Fixed test_undecodable_filename on Mac OS.
2014-08-17 16:57:39 +03:00
Serhiy Storchaka
a64ce5d744
Issue #22165 : Fixed test_undecodable_filename on non-UTF-8 locales.
2014-08-17 12:20:02 +03:00
Serhiy Storchaka
cb5bc408ad
Issue #22165 : SimpleHTTPRequestHandler now supports undecodable file names.
2014-08-17 08:22:11 +03:00
Ned Deily
5d0d2e6ed6
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:16:56 -07:00
Ned Deily
217f4cd7ee
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:12:39 -07:00
Ned Deily
915a30fb0d
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:06:26 -07:00
R David Murray
14199f9392
#20155 : use fake HTTP method names so windows doesn't hang the tests.
...
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.
2014-06-24 16:39:49 -04:00
Benjamin Peterson
9db281662d
merge 3.3
2014-06-16 23:16:31 -07:00
Benjamin Peterson
0fd3972a3f
merge 3.2
2014-06-16 23:16:06 -07:00
Benjamin Peterson
314dc126ce
expect the correct platform-dependent linesep
2014-06-16 23:15:50 -07:00
Benjamin Peterson
a8c75fe31a
merge 3.3 ( #21766 )
2014-06-14 18:41:13 -07:00
Benjamin Peterson
6cd1954c5c
merge 3.2 ( #21766 )
2014-06-14 18:40:10 -07:00
Benjamin Peterson
73b8b1cdb8
url unquote the path before checking if it refers to a CGI script ( closes #21766 )
2014-06-14 18:36:29 -07:00
Serhiy Storchaka
d3e1207191
Issue #20555 : Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
2014-02-08 14:51:10 +02:00
Serhiy Storchaka
25d8aeac7c
Issue #20555 : Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
2014-02-08 14:50:08 +02:00
Benjamin Peterson
c28ab08887
merge 3.3 ( #18574 )
2014-01-18 21:51:11 -05:00
Benjamin Peterson
044242360d
fix handling of 100-continue status code ( closes #18574 )
2014-01-18 21:50:18 -05:00
Benjamin Peterson
c99874da83
merge 3.3 ( #19435 )
2013-10-30 12:51:16 -04:00
Benjamin Peterson
a50f89954d
merge 3.2 ( #19435 )
2013-10-30 12:50:18 -04:00
Benjamin Peterson
35aca89617
merge 3.1 ( #19435 )
2013-10-30 12:48:59 -04:00
Benjamin Peterson
04e9de40f3
use the collapsed path in the run_cgi method ( closes #19435 )
2013-10-30 12:43:09 -04:00
Senthil Kumaran
187b063005
Fix http.server's request handling case on trailing '/'.
...
Patch contributed by Vajrasky Kok. Addresses Issue #17324
2013-09-13 00:22:45 -07:00