263 Commits

Author SHA1 Message Date
Sean McArthur
18fd9a63b0 Re-enable rustls (#747) 2019-12-19 11:43:03 -08:00
Sean McArthur
a57afd50ea Reduce futures optional features (#737) 2019-12-12 12:34:44 -08:00
Sean McArthur
7631c0390e Rename 'unstable-stream' feature to 'stream' (#733) 2019-12-10 16:55:53 -08:00
Gleb Pomykalov
0f32c4a01a Update to hyper 0.13 2019-12-10 16:24:05 -08:00
Sean McArthur
43e15e2094 v0.10.0-alpha.2 2019-11-12 10:14:39 -08:00
nickelc
bab6001e0b Pin async-compression to the last alpha (#703) 2019-11-07 12:04:01 -08:00
Christian Bourjau
b24b0be461 wasm: Add bytes method to wasm response (#694)
the bytes method was missing from the Response object of the wasm32
compilation target.
2019-10-30 13:32:31 -07:00
Alex Gaynor
3090a68d53 dependencies: upgrade base64 to latest version (#692) 2019-10-25 15:42:29 -07:00
Paolo Barbolini
dd65fc7c3a wasm: translate over response headers (#689)
Closes #656
2019-10-21 13:55:42 -07:00
Sean McArthur
7739e03123 Enable "system" proxies by default (#683)
If no proxies are configured for a client, the environment (system) will
be inspected automatically to set up proxies.

Configuring a `Proxy` on a client or calling `no_proxy` will disable the
use of the automatic system proxy.

Closes #403
2019-10-17 13:32:00 -07:00
Sean McArthur
8583dd2b4c Replace uuid dependency with tiny internal RNG (#679) 2019-10-15 14:54:26 -07:00
Alex Gaynor
09a541cff5 chore(deps): bump cookie_store dependency to the latest version (#673) 2019-10-14 11:26:02 -07:00
lzutao
5e5e6e9040 chore(deps): bump wasm-bindgen-futures (#675) 2019-10-14 11:25:17 -07:00
Sean McArthur
75ee4646ac v0.10.0-alpha.1 2019-10-08 14:00:20 -07:00
Sean McArthur
cba1e4e82e Update tokio and hyper alphas 2019-10-01 14:26:42 -07:00
Sean McArthur
ebe57e10a3 Put Stream APIs behind unstable-stream feature 2019-09-27 17:00:15 -07:00
Constantin Nickel
24394364eb Make json an optional feature (default off) 2019-09-27 12:27:23 -07:00
Constantin Nickel
a787fc1b38 Prune the tokio dependencies 2019-09-27 11:53:15 -07:00
Sean McArthur
932defd879 Introduce unstable, incomplete WASM support 2019-09-26 10:01:08 -07:00
Sean McArthur
6413a4349e Update tokio and hyper alphas 2019-09-25 14:19:37 -07:00
Sean McArthur
f71227d968 Make gzip an optional feature (default off) 2019-09-23 15:46:25 -07:00
nickelc
3cf8ede960 Make futures-channel dependency of blocking API (#644) 2019-09-19 09:03:39 -07:00
Sean McArthur
7e3c1bc461 Make the blocking API an optional feature (default off) 2019-09-18 12:39:02 -07:00
Sean McArthur
0a87d3d7da Make cookies an optional feature (default off) 2019-09-17 16:50:54 -07:00
Constantin Nickel
b1a90eb402 Prune the futures dependencies 2019-09-12 07:52:31 -07:00
Sean McArthur
5fb04356fc Re-enable rustls feature (#625) 2019-09-09 12:45:45 -07:00
Sean McArthur
ba7b2a754e refactor all to async/await (#617)
Co-authored-by: Danny Browning <danny.browning@protectwise.com>
Co-authored-by: Daniel Eades <danieleades@hotmail.com>
2019-09-06 17:22:56 -07:00
Nikhil Benesch
f60456c8e3 Upgrade to url v2.0 (#583) 2019-09-04 18:27:20 -07:00
Luca Bruno
3033f11639 cargo: update to rustls 0.16 2019-08-20 14:05:34 -07:00
Daniel Eades
5dc5162765 update and tidy code 2019-08-16 12:59:55 -07:00
Sean McArthur
c3b2a26c46 Prepare master for 0.10 breaking changes 2019-08-16 11:47:05 -07:00
Sean McArthur
7d04fa1dfa Update to released mime_guess v2.0 2019-08-14 11:36:42 -07:00
Sean McArthur
d29e12db10 v0.9.19 2019-07-19 12:23:04 -07:00
WindSoilder
577d06c363 Add support for system/environment proxies (#547) 2019-07-01 16:27:58 -07:00
Dmitry Pankratov
e16aed5e3c Added support for sending requests with streaming Body (#545) 2019-06-14 10:29:54 -07:00
Sean McArthur
9f256405e5 v0.9.18 2019-06-06 11:33:03 -07:00
nirasan
9f22f46e85 Clarify correct specification of dependency on serde (#525)
Closes #494
2019-05-16 10:46:00 -07:00
Sean McArthur
11d477f49a v0.9.17 2019-05-15 13:22:42 -07:00
Johan Andersson
795602450b Update cookie 0.12 and cookie_store 0.7 (#518)
Fix #517
2019-05-06 10:29:07 -07:00
Sean McArthur
bf5a268079 v0.9.16 2019-04-30 15:27:12 -07:00
Guillaume Gomez
66a88d946b Add doc-comment to test README examples (#515) 2019-04-30 14:11:10 -07:00
Benjamin Fry
15595acb04 update trust-dns-resolver to 0.11 (#513) 2019-04-30 08:55:03 -07:00
Sean McArthur
08054a3984 v0.9.15 2019-04-15 12:36:27 -07:00
Sean McArthur
9ddeb5ad22 v0.9.14 2019-04-09 13:13:53 -07:00
Christoph Herzog
954fdfae30 Implement cookie store support
This commit introduces a cookie store / session support
for both the async and the sync client.

Functionality is based on the cookie crate,
which provides a HTTP cookie abstraction,
and the cookie_store crate which provides a
store that handles cookie storage and url/expiration
based cookie resolution for requests.

Changes:
* adds new private dependencies: time, cookie, cookie_store
* a new cookie module which provides wrapper types around
    the dependency crates
* a Response::cookies() accessor for iterating over response cookies
* a ClientBuilder::cookie_store() method that enables session functionality
* addition of a cookie_store member to the async client
* injecting request cookies and persisting response cookies
* cookie tests

NOTE: this commit DOES NOT expose the CookieStore itself,
limiting available functionality.

This is desirable, but omitted for now due to API considerations that should be fleshed out in the future.
This means users do not have direct access to the cookie session for now.
2019-04-09 12:54:10 -07:00
Diggory Blake
c45ff29bfb Add support for SOCKS5 proxies, and parsing proxy authorizations from URLs 2019-04-08 11:42:18 -07:00
Sean McArthur
871ec6f989 v0.9.13 2019-04-01 18:45:16 -07:00
Sean McArthur
f77ec53e59 v0.9.12 2019-03-20 14:18:39 -07:00
quininer
f02ca0ded0 disable Nagle's for default-tls handshake 2019-03-20 14:09:31 -07:00
quininer
3554b0ad26 replace libflate with flate2 (#476) 2019-03-19 13:21:43 -07:00