Commit Graph

196 Commits

Author SHA1 Message Date
Sean McArthur
bc5b3dfa4a rename native-tls-vendored to default-tls-vendored 2019-01-03 11:28:45 -08:00
Sean McArthur
44837c1b69 Replace getaddrinfo resolver with trust-dns-resolver 2018-12-18 12:54:22 -08:00
quininer
37039760f8 Add rustls support (#390) 2018-12-17 11:57:43 -08:00
Bastien Orivel
a13f89c4e5 Update base64 to 0.10 (#383) 2018-11-28 14:53:01 -08:00
Daniel Wagner-Hall
8217c43db2 Allow native-tls to be vendored (#391) 2018-11-28 14:52:23 -08:00
Sean McArthur
e2fa5497ef update deprecated Uri::port to port_part 2018-11-26 12:14:05 -08:00
Alex Gaynor
82bc1be89e Bumped env_logger to 0.6 2018-11-15 09:42:04 -08:00
Sean McArthur
6555261064 v0.9.5 2018-11-13 12:53:12 -08:00
Sean McArthur
97393143a5 put all TLS functionality behind a feature flag
The "Cargo feature" `default-tls`, which is enabled by default, is
added, with all TLS support relying on it. This allows using reqwest but
disabling the `native-tls` dependency, by disabling this feature.

Closes #225
2018-10-29 16:37:25 -07:00
Sean McArthur
478ef9bf15 add Response::remote_addr() method
The new `remote_addr` method returns an `Option<SocketAddr>`, which is
`Some` if the underlying transport uses socket addresses.

Closes #373
2018-10-26 14:23:33 -07:00
Sean McArthur
c91f37babf v0.9.4 2018-10-26 14:07:17 -07:00
Sean McArthur
e1a67f32aa v0.9.3 2018-10-17 14:25:19 -07:00
Sean McArthur
6c8f08a761 v0.9.2 2018-09-25 11:53:59 -07:00
Sean McArthur
423559625d bump libflate dependency to 0.1.18 2018-09-25 11:48:56 -07:00
Sean McArthur
2db72d1593 v0.9.1 2018-09-20 14:15:20 -07:00
Sean McArthur
2698148743 fix improper handling of request body backpressure
Closes #348
2018-09-19 14:20:12 -07:00
Sean McArthur
76547fee91 v0.9.0 2018-09-18 14:36:18 -07:00
Laurent Arnoud
68d012e954 Try to fix docs.rs generation (#343)
https://github.com/seanmonstar/reqwest/issues/329
https://github.com/onur/docs.rs/issues/23#issuecomment-419623139
2018-09-12 15:59:56 -07:00
Lucas Kent
99b52f949b Update to uuid 0.7 (#340) 2018-09-11 13:31:52 -07:00
Sean McArthur
993658c2b6 remove error-chain from dev-dependencies 2018-08-17 10:42:55 -07:00
Sean McArthur
3424e91746 update and remove unnecessary dependencies 2018-08-15 16:54:41 -07:00
Sean McArthur
e182c416c9 add hyper-011 cargo feature to ease migration 2018-08-15 16:47:02 -07:00
Sean McArthur
3fbda4fd49 remove unstable language and feature 2018-08-15 16:08:47 -07:00
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