Jason R. Coombs
f289084c83
bpo-24209: In http.server script, rely on getaddrinfo to bind to preferred 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.
2019-02-07 08:22:45 -05:00
Lisa Roach
433433fa6d
Adds IPv6 support when invoking http.server directly. (GH-10595)
2018-11-26 10:43:38 -08:00
Ned Deily
b3edde8dd4
bpo-31380: Skip test_httpservers test_undecodable_file on macOS. ( #4720 )
...
The undecodable file name cannot be created on macOS APFS file systems.
2017-12-04 23:42:02 -05:00
Antoine Pitrou
a6a4dc816d
bpo-31370: Remove support for threads-less builds ( #3385 )
...
* Remove Setup.config
* Always define WITH_THREAD for compatibility.
2017-09-07 18:56:24 +02:00
Victor Stinner
830d7d2936
bpo-31234: test_httpservers joins the server thread ( #3188 )
2017-08-22 18:05:07 +02:00
Victor Stinner
28ce07ae9e
bpo-31066: Fix test_httpservers.test_last_modified() ( #2933 )
...
Write the temporary file on disk and then get its modification time.
2017-07-28 18:15:02 +02:00
Stéphane Wirtel
a17a2f52c4
bpo-28707: Add the directory parameter to 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
2017-05-24 00:29:06 -07:00
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