Ben Darnell
38c0ceff1a
Set version number to 6.0.dev1
2018-07-14 11:17:47 -04:00
Ben Darnell
c890f840f2
Merge pull request #2442 from bdarnell/finalize-5.1
...
Set version number to 5.1
2018-07-11 09:25:17 -04:00
Ben Darnell
0ff66e343b
Set version number to 5.1
2018-07-11 09:14:00 -04:00
Ben Darnell
d5c4e8997b
Merge pull request #2439 from bdarnell/revert-redirect
...
Revert "_HTTPConnection: check location on _should_follow_redirect() …
2018-07-10 22:32:24 -04:00
Ben Darnell
dda77f2ca3
Revert "_HTTPConnection: check location on _should_follow_redirect() and retain safe request when following redirects ( #2409 )"
...
This reverts commit 859a038eb9
.
This commit was merged after the release of 5.1b1 with insufficient
consideration and testing. I'll bring this back in the 6.0 cycle with
a test
2018-07-10 22:04:15 -04:00
Ben Darnell
db3e02b0cc
Merge pull request #2432 from bdarnell/py37
...
build: Add Python 3.7 to tox and travis configs
2018-07-10 21:46:11 -04:00
Ben Darnell
9fb12bbbfe
test: Increase a timeout to deflake autoreload_test on pypy3
2018-07-10 21:28:57 -04:00
Ben Darnell
0067540907
test: Reduce the size of a test to avoid timeouts
...
This test times out in SSL mode on Python 3.7 64-bit on windows on
appveyor (but 32-bit and older pythons are fine)
2018-07-10 21:13:51 -04:00
Ben Darnell
8952120d54
build: Add Python 3.7 to tox and appveyor configs
...
Not in travis yet because getting python 3.7 on travis is more complicated.
2018-07-10 21:13:32 -04:00
Ben Darnell
cb79c89248
Merge pull request #2437 from bdarnell/work
...
wsgi: Avoid touching the asyncio event loop at import time
2018-07-06 15:17:03 -04:00
Ben Darnell
ccc89025f2
wsgi: Avoid touching the asyncio event loop at import time
...
Rewrite import_test. Its original purpose of augmenting our once-poor
test coverage, but it can now be useful for ensuring the absence of
import-time side effects.
Fixes #2426
2018-07-06 15:02:55 -04:00
Ben Darnell
d68e63f55b
demos: Remove redundant assignment
...
Fixes #2415
2018-07-06 15:02:55 -04:00
Ben Darnell
352a7a227b
Merge pull request #2428 from AlexanderSov/patch-1
...
Add space to psql command
2018-06-30 13:02:18 -04:00
garenchan
859a038eb9
_HTTPConnection: check location on _should_follow_redirect() and retain safe request when following redirects ( #2409 )
2018-06-27 21:08:41 -04:00
Alexander
d38883cede
Fix mistake in command.
2018-06-22 12:51:19 +03:00
Ben Darnell
0b2b055061
Merge pull request #2418 from bdarnell/5.1-beta
...
Set version number to 5.1b1
2018-06-11 09:04:46 -04:00
Ben Darnell
9470c80afc
Set version number to 5.1b1
2018-06-10 23:25:13 -04:00
Ben Darnell
9a0cfd74cd
Update release notes for last additions to 5.1
2018-06-10 23:24:29 -04:00
Ben Darnell
40ee6a1c41
Merge pull request #2417 from bdarnell/test-deprecation
...
test: Convert more tests to non-deprecated interfaces
2018-06-10 22:48:52 -04:00
Ben Darnell
886e916c45
test: Convert more tests to non-deprecated interfaces
...
Now the only tests using ignore_deprecation are the ones actually
testing deprecated interfaces, so the tests can be removed in 6.0.
2018-06-10 22:19:58 -04:00
Ben Darnell
281ac8cca4
Merge pull request #2416 from bdarnell/http-response-times
...
httpclient: Improve HTTPResonse time info
2018-06-10 17:29:26 -04:00
Ben Darnell
1fd7ead31a
httpclient: Improve HTTPResonse time info
...
The HTTPResponse.request_time attribute is now consistent between curl
and simple HTTP clients (it excludes queue time in both cases). Added
a start_time attribute which can be used to see when the network
processing started.
Replaces #1032
2018-06-10 17:08:15 -04:00
Ben Darnell
cfc8f72639
Merge pull request #2412 from bdarnell/options-parse-string
...
options: parse_config_file accepts string values
2018-06-03 14:41:01 -04:00
Ben Darnell
fda1810615
options: Remove dead code, test and lint updates
2018-06-03 14:24:02 -04:00
Ben Darnell
7d9cf2a6be
Merge branch 'master' into HEAD
2018-06-03 14:00:57 -04:00
Ben Darnell
2595586281
Merge pull request #2411 from bdarnell/multipart-filename
...
httputil: Support non-ascii filenames in multipart uploads
2018-06-03 11:36:56 -04:00
Ben Darnell
e9785a3897
httputil: Fix rfc2231 for python2
...
Add a test that goes through parse_multipart_form_data
2018-06-02 23:17:20 -04:00
Ben Darnell
acce062364
Merge commit 'pull/origin/869' into multipart-filename
2018-06-02 22:56:46 -04:00
Ben Darnell
2a420ea181
Merge pull request #2410 from garenchan/bugfix-demo-s3-server
...
demo: update s3server to newest python
2018-06-02 12:41:52 -04:00
Ben Darnell
16cccb0dc2
Merge pull request #2406 from kaishuu0123/fix/demo-blog-compose
...
fix blog demo. (GET ComposeHandler)
2018-06-02 12:39:08 -04:00
chengkang
7dd9db61bf
demo: update s3server to newest python
2018-06-01 22:03:00 +08:00
Koki Oyatsu
8012b1cc87
fix blog demo. (GET ComposeHandler)
2018-05-31 00:40:25 +09:00
Ben Darnell
9bb6463c07
Merge pull request #2402 from ploxiln/pycurl_py3_justbytes
...
CurlAsyncHTTPClient: remove ubuntu-12.10 python3 fix
2018-05-27 20:25:52 -04:00
Pierce Lopez
ceb1f6458e
CurlAsyncHTTPClient: remove ubuntu-12.10 python3 fix
...
No need to utf8() what is passed to WRITEFUNCTION, it will always
be bytes on python3 for upstream pycurl on python3.
The ubuntu-12.10 variant is long gone.
2018-05-24 11:48:38 -04:00
Ben Darnell
fac9054a36
Merge pull request #2397 from bdarnell/password-encoding
...
httpclient: Support non-ascii characters in usernames and passwords
2018-05-20 17:15:17 -04:00
Ben Darnell
1c97e3c1f5
httpclient: Improve non-ascii characters in HTTP auth
...
- Use NFC as required by the spec
- Fix string-concat exceptions on py2
- Test both curl and simple http clients for basic auth
- Do the same for proxy auth in curl
2018-05-20 16:47:22 -04:00
Piotr Tylenda
cc3ca857a0
Fix non-ascii characters support in curl_httpclient username and password
2018-05-20 16:23:03 -04:00
Ben Darnell
6410cd98c1
Merge pull request #2395 from bdarnell/deflake
...
asyncio: Fix a race between close and initialize
2018-05-20 11:47:23 -04:00
Ben Darnell
b167433b99
asyncio: Fix a race between close and initialize
...
The close method of one IOLoop could race with the initialize method
of another one, leading to KeyErrors raised in close().
Fixes #2367
2018-05-20 11:29:32 -04:00
Ben Darnell
ef034425b5
test: Fix ResolveTimeoutTestCase
...
The dummy resolver used here was not correctly adapted for changes in
netutil, and as a result the test was incorrect (it checked for
TypeError instead of a timeout) and flaky (occasionally it would get a
timeout error anyway).
2018-05-20 11:10:45 -04:00
Ben Darnell
02103209f1
Merge pull request #2393 from bdarnell/autoreload-wrapper
...
autoreload: Preserve wrapper with internal reload
2018-05-20 10:51:28 -04:00
Ben Darnell
feee98fc12
autoreload: Improve autoreload wrapper on windows
...
On platforms without execv(), we must spawn a separate subprocess.
This breaks down when an internal autoreload is firing in a wrapped
process, since the internal reload raises an exception with the
wrapper catches (triggering a second reload and another copy of the
process).
2018-05-19 23:36:39 -04:00
Ben Darnell
f6c4790b46
autoreload: Fix wrapper preservation for Python 3
...
The `spec` branch needs special handling too. Update the test to
correctly test the desired situation (and simplify by removing the
separate toucher process).
2018-05-19 23:15:55 -04:00
Ben Darnell
eb487cac3d
Merge pull request #2394 from bdarnell/finish-return-future
...
web: finish() and render() now return Futures
2018-05-19 22:53:44 -04:00
Ben Darnell
50800f37b7
Merge pull request #2392 from bdarnell/enoprotoopt
...
iostream,netutil: Ignore ENOPROTOOPT errors from SO_REUSEADDR or SO_ERROR
2018-05-19 20:46:23 -04:00
Ben Darnell
d31bc28931
web: Also return a Future from render()
...
Improve tests.
2018-05-19 20:46:02 -04:00
luojiebin
52a202da4f
Add testcase for finish method of RequestHandler
2018-05-19 20:46:02 -04:00
luojiebin
5949aad713
Return a Future from finish method of RequestHandler
2018-05-19 20:46:02 -04:00
Steve
3edf7df1b2
remove redundant code
2018-05-19 19:54:08 -04:00
Steve
831ae392ce
fix autoreload argv perservation
2018-05-19 19:53:57 -04:00