Commit Graph

223 Commits

Author SHA1 Message Date
Yannick Heinrich
11f8588989 upgrade to native-tls 0.2 + invalid certs (#325)
- Bumps `native-tls` dependency to 0.2 and adapt code accordingly
- Import code used from `tokio-tls` into `connect_async` and adapt dependencies accordinlgy
- Add an option for using `danger_accept_invalid_certs` inside the `Config` struct
2018-08-08 13:14:36 -07:00
Sean McArthur
6c78e363e0 remote tokio-core dependency 2018-07-05 14:06:01 -07:00
Yash Srivastav
c417d6dab8 Upgrade hyper to 0.12
Closes #304
2018-07-05 10:03:31 -07:00
Sean McArthur
a4f5c2d3f0 v0.8.6 2018-05-31 12:08:07 -07:00
Mattias Päivärinta
bffebfc470 Bump dependency on native-tls (#286)
native_tls::Certificate::from_pem was introduced in 0.1.5
2018-04-15 15:19:55 -07:00
David Nies
cf949177de Update hyper to 0.11.22 2018-03-13 15:31:35 -07:00
Dylan DPC
d142ff2df1 Update uuid to 0.6 (#257) 2018-02-17 10:44:58 -08:00
Sean McArthur
aed318cb75 v0.8.5 2018-02-15 12:20:49 -08:00
Sean McArthur
7db860759d Revert "Merge pull request #232 from tafia/hyper-proxy"
This reverts commit b09b8620a6, reversing
changes made to abfcd2796e.
2018-02-15 12:13:33 -08:00
messense
0203fad886 Detect encoding in Response::text() (#256)
* Detect encoding and decode text response

Fixes #246

* Try to get encoding from Content-Type header

* Remove uchardet encoding detection for now

* Add non utf-8 test case for Response::text()

* Reduce copies
2018-02-15 11:01:57 -08:00
Oliver Schneider
f0b774960d Allow unsized types in query, form and json 2018-02-01 14:44:39 +01:00
Sean McArthur
c06d3d4028 Merge tag 'v0.8.4' 2018-01-22 09:44:23 -08:00
Sean McArthur
7412932e47 v0.8.4 2018-01-22 09:40:13 -08:00
Sean McArthur
92a466126d v0.8.3 2018-01-19 17:55:15 -08:00
Sean McArthur
af49be0ce6 update to log 0.4 2018-01-19 17:55:15 -08:00
Sean McArthur
911ddd9f1e v0.8.3 2018-01-19 17:48:49 -08:00
Sean McArthur
d6762d4877 update to log 0.4 2018-01-19 17:46:55 -08:00
Sean McArthur
b09b8620a6 Merge pull request #232 from tafia/hyper-proxy
Remove proxy handling in favor of hyper-proxy crate
2018-01-02 10:12:44 -08:00
Johann Tuffe
4101c78a1f use hyper-proxy 0.4.0 which allows multiple proxies 2017-12-21 15:40:36 +08:00
Sean McArthur
abfcd2796e v0.8.2 2017-12-19 13:30:06 -08:00
Johann Tuffe
2f403175dc uses hyper-proxy 0.3.0 2017-12-19 15:23:39 +08:00
Sean McArthur
120890f041 enable hyper's no_proto config 2017-12-18 18:20:35 -08:00
Johann Tuffe
07f89984c4 store intercept to set_proxy on requests 2017-12-18 17:53:17 +08:00
Johann Tuffe
8b1bb0b53e remove proxy handling in favor of hyper-proxy crate 2017-12-15 11:51:02 +08:00
Sean McArthur
e87a3ec476 v0.8.1 2017-11-06 19:04:19 -08:00
Sean McArthur
6ab3923f1e v0.8.0 2017-10-02 12:27:41 -07:00
Sean McArthur
390fc34148 wip 2017-09-04 13:11:20 -07:00
Sean McArthur
dc44e742a0 fix deprecated UnboundedSender::send() to unbounded_send() 2017-08-24 15:23:14 -07:00
e00E
93c8321305 Add multipart/form-data support 2017-08-21 10:58:59 -07:00
Sean McArthur
fe8c7a2d01 Merge pull request #165 from KodrAus/feat/async-decoder
Support Async Gzip Decoding
2017-08-21 10:57:55 -07:00
Sean McArthur
ee4db166ce v0.7.3 2017-08-19 16:07:24 -07:00
Ashley Mannix
e2fa97254e support async gzip decoding 2017-08-18 19:43:06 +10:00
Sean McArthur
a163e73b82 v0.7.2 2017-07-25 12:50:42 -07:00
Sean McArthur
dd147f1915 v0.7.1 2017-07-13 12:30:38 -07:00
Sean McArthur
f5ce7d8127 v0.7.0 2017-07-11 12:41:29 -07:00
Sean McArthur
17c0739fcc connect TLS aftet tunneling to a proxy 2017-06-30 18:28:52 -07:00
Sean McArthur
1785e0dc5d Disable hostname verification when option is enabled
Closes #153
2017-06-28 11:03:28 -07:00
Sean McArthur
6cdaff4b66 add a Proxy type
Proxies can currently be configured to intercept HTTP, HTTPS, and all
requests. HTTPS tunneling is supported.

Closes #30
2017-06-22 09:49:00 -07:00
Sean McArthur
665b4fe718 upgrade hyper to v0.11 2017-06-21 09:47:21 -07:00
Sean McArthur
00382f8d06 use a stale check in the pool
Check that a socket is not EOF to reduce the likelihood of using
a bad pooled connection.
2017-06-06 13:31:28 -07:00
Michal Budzynski
0ffeb074b6 Point html_root_url to docs.rs 2017-06-01 09:50:19 +02:00
Sean McArthur
82a6eb4939 update ClientBuilder to match builder pattern 2017-05-31 11:38:02 -07:00
Corentin Henry
d12d604e38 tmp: use upstream git repo for hyper-native-tls 2017-05-31 11:38:02 -07:00
James Kominick
e9d5774365 update example error handling
- Add error-chain dev dependency
- Add error handling using `?` instead of `unwrap`
2017-05-21 16:15:46 -04:00
Sean McArthur
241e5069b4 v0.6.2 2017-05-18 14:36:18 -07:00
Sean McArthur
cd640417db v0.6.1 2017-05-12 22:07:41 -07:00
Sean McArthur
4bc2e61dc4 upgrade env_logger to 0.4 2017-05-12 22:07:21 -07:00
Sean McArthur
6d87f2743e v0.6.0 2017-05-09 15:32:48 -07:00
Sean McArthur
e39cbc3671 update libflate version for bug fixes 2017-05-09 15:32:29 -07:00
Sean McArthur
8771ff4194 update serde_urlencoded 2017-05-09 15:21:23 -07:00