Tom Christie
b847ab07a3
Version 0.9.4 ( #631 )
2019-12-13 10:44:02 +00:00
Tom Christie
52c2c9762f
Bump up flow control defaults ( #629 )
...
* Bump up flow control defaults
* Linting
* Simplify mock HTTP/2 stream in tests
2019-12-12 11:57:53 +00:00
Tom Christie
499de51f2b
Keep-alive timeouts. ( #627 )
...
* Add .time() to backend
* Add connection timeouts
* Add test case for keep alive timeouts
* Update httpx/dispatch/connection_pool.py
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
* Cleanups from review
* Use .expires_at, rather than .timeout_at
2019-12-12 11:52:49 +00:00
Tom Christie
77da6db8e8
Fix typo on "URLs" ( #630 )
2019-12-12 12:13:25 +01:00
Tom Christie
1d25bd58a8
Ensure H2 state is only accessed by the connection, not per-stream. ( #628 )
...
* Ensure H2 state is only accessed by the connection, not per-stream
* Formatting tweak
2019-12-12 10:40:12 +00:00
Tom Christie
869714fbf5
Drop unused methods from BaseEvent ( #626 )
2019-12-11 12:31:05 +00:00
Tom Christie
00a875db93
Refactor get_semaphore ( #625 )
2019-12-11 12:30:56 +00:00
Tom Christie
66e0f4b6f8
Tweak backport_start_tls implementation, and add 'nocover'. ( #622 )
2019-12-09 18:30:00 +00:00
Tom Christie
02d16bfb34
Trivial-case test for response.elapsed
2019-12-09 17:12:20 +00:00
Tom Christie
3124a38123
Minor config cleanup ( #621 )
2019-12-09 10:59:55 +00:00
Florimond Manca
e95111ac07
Add OpenConnection base class ( #616 )
...
* Add OpenConnection base class
* Move is_http2 property around
2019-12-09 11:34:02 +01:00
Tom Christie
eba29da632
Drop 'fork' ( #619 )
2019-12-08 19:52:46 +00:00
Tom Christie
83fc0921c1
Drop TimeoutFlag ( #618 )
2019-12-08 19:43:33 +00:00
Florimond Manca
ab41a5d5c3
Refactor tests in the light of backend auto-detection ( #615 )
...
* Refactor tests in the light of backend auto-detection
* Test passing explicit backend separately
* Drop 'backend=backend'
* Fix usage of asyncio.run() on 3.6
2019-12-07 15:17:35 +01:00
Tom Christie
f57bb2f142
HTTP/2 refactoring ( #612 )
...
* HTTP/2 refactoring
* Clean up flow control
* Remove extra blank line
2019-12-07 14:14:09 +00:00
Tom Christie
bc54dd0399
Backend operations like .read(), .write() now have a manadatory timeout argument. ( #611 )
2019-12-07 11:09:58 +00:00
Tom Christie
f55db15a01
Add 'fork' to auto backend ( #614 )
...
* Add 'fork' to auto backend
* Version 0.9.3
2019-12-07 09:07:33 +00:00
Tom Christie
2394aabcb9
Add 0.9.2 note
2019-12-07 08:51:14 +00:00
Tom Christie
3a0df657b3
Version 0.9.2
2019-12-07 08:49:34 +00:00
Tom Christie
0aa1815153
0.9.1 note
2019-12-06 17:48:04 +00:00
Tom Christie
76f3ff9dd9
Release 0.9.1 due to build artifacts issue
2019-12-06 17:45:56 +00:00
Tom Christie
5cb48d981f
Update index.md
2019-12-06 15:34:45 +00:00
Tom Christie
85cc8f8008
Update README.md
2019-12-06 15:34:21 +00:00
Tom Christie
8d1bc9e60f
Version 0.9 ( #606 )
...
* Version 0.9
* Final CHANGELOG entries for 0.9
2019-12-06 15:32:22 +00:00
Tom Christie
ec40d04382
Add aiter methods on response ( #610 )
2019-12-06 15:20:09 +00:00
Tom Christie
d15dc0b1f8
Tighten up top-level API to only expose public API ( #608 )
...
* Tighten up top-level API to only expose public API
* Leave HTTPProxyMode for backwards compat, raising warnings.
* Add missing import
2019-12-06 15:20:01 +00:00
Florimond Manca
e1f5b8ba57
Move tunnel_start_tls() to HTTPConnection ( #609 )
2019-12-06 13:00:38 +00:00
Florimond Manca
df9dc6d516
Cleanup comments on handling MultiError ( #607 )
2019-12-06 12:58:21 +00:00
Tom Christie
ddc4885543
Update advanced.md
2019-12-06 11:35:29 +00:00
Tom Christie
1e23855709
Warn if cert / verify / trust_env are passed to client.request() ( #597 )
...
* Add cert and verify warnings on Client.request
* Resolve typo
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
* Resolve typo
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
* trust_env should be set on client init
* Update docs for per-Client SSL settings
* Update requests compat docs
2019-12-06 11:29:22 +00:00
Florimond Manca
c38fd68ed7
Drop BackgroundManager in favor of fork(func1, func2) ( #603 )
...
* Drop BackgroundManager in favor of fork(func1, func2)
* Please mypy
2019-12-06 10:49:24 +00:00
Tom Christie
bb6e52f356
Rename BaseSocketStream cases from connection.stream to connection.socket ( #601 )
2019-12-05 19:54:19 +00:00
Tom Christie
8d8ea8bbba
Add Client.stream() method. ( #600 )
...
* Add Client.stream() method.
* Add top-level stream API
* Documentation
2019-12-05 17:25:43 +00:00
Tom Christie
38a9d77342
Update changelog to include 'master' ( #596 )
...
* Update changelog to include 'master'
* Include PR references
2019-12-05 12:28:45 +00:00
Tom Christie
e56e120175
Drop write_no_block from backends. ( #594 )
...
* Drop write_no_block
* Drop redundant code from Trio backend
2019-12-05 11:46:11 +00:00
Tom Christie
fc95c7e71e
stream -> stream_bytes, raw -> stream_raw ( #599 )
2019-12-05 11:39:28 +00:00
Tom Christie
dad379736d
Fix Timeout -> TimeoutException in test case ( #598 )
2019-12-05 11:03:27 +00:00
Tom Christie
f8794cb3ce
Improve backend docs, particularly wrt. autodetection ( #595 )
...
* Improve backend docs, particularly wrt. autodetection
* Resolve typo.
2019-12-05 10:27:16 +00:00
Tom Christie
1c9167e3b7
Update CHANGELOG.md
2019-12-05 10:03:24 +00:00
Tom Christie
a738327678
Tweak docstring
2019-12-05 09:40:24 +00:00
Tom Christie
2f54b200de
Allow default+override timeout style ( #593 )
...
* Allow styles like: httpx.Timeout(5.0, pool_timeout=None)
* Update timeout docs
* Minor tweaks to sub headings in timeout docs
* Fixing up Timeout docs
* RequestTimeout -> TimeoutException
* Tweak timeout docs
2019-12-05 09:38:48 +00:00
Tom Christie
81edb1b45b
Update index.md
2019-12-04 17:21:42 +00:00
Tom Christie
cb735b9b0d
Update README.md
2019-12-04 17:21:17 +00:00
Tom Christie
c08ae7796f
Alpha note, and recommendations on pinning versions ( #590 )
2019-12-04 11:57:02 +00:00
Tom Christie
eb7c6b0342
Differentiate between timeout=None and timeout=UNSET. ( #592 )
...
* TimeoutConfig -> Timeout
* Timeout=None should mean what it says.
* Drop optional timeout on internal client methods
2019-12-04 11:54:39 +00:00
Tom Christie
c033ed1b65
TimeoutConfig -> Timeout ( #591 )
2019-12-04 11:39:45 +00:00
han-solo
d223de8ff3
Fixed version requirement for rfc3986. Issue reference #504 ( #589 )
2019-12-04 10:05:33 +00:00
Tom Christie
293bc70947
Update README.md
2019-12-04 09:54:05 +00:00
Tom Christie
5076952202
Rename http2 switch ( #586 )
...
* Simplify HTTP version config, and switch HTTP/2 off by default
* HTTP/2 docs
* HTTP/2 interlinking in docs
* Add concurrency auto-detection
* Add sniffio
* Rename HTTP2 switch on client
* http_2 -> http2
2019-12-02 19:52:29 +00:00
Tom Christie
3cbe7315e8
Concurrency autodetection ( #585 )
...
* Simplify HTTP version config, and switch HTTP/2 off by default
* HTTP/2 docs
* HTTP/2 interlinking in docs
* Add concurrency auto-detection
* Add sniffio
2019-12-02 19:26:16 +00:00