263 Commits

Author SHA1 Message Date
4JX
b41401f4a8 Flake 2023-01-05 01:40:32 +01:00
4JX
5736cf293e Update Cargo.toml 2023-01-05 01:29:46 +01:00
4JX
b22267618c Add impersonation capabilites
Update lib.rs
2023-01-05 01:29:46 +01:00
BlackDex
9566194aa1 Remove proc-macro-hack crate
The `proc-macro-hack` crate isn't needed anymore.
Cookie has been updated to `0.16` for a while now, and no other crates
depend on it anymore, so no need for reqwest to have this either.
2022-12-20 13:38:34 -05:00
austaras
e8a733a26e Update base64 to 0.20 2022-12-17 07:27:26 -05:00
Sean McArthur
3c39260cf7 v0.11.13 2022-11-16 10:44:55 -05:00
Andrei Grazhdankov
231b18f835 native-tls: add Identiy::from_pkcs8_pem (#1655)
Add new optional fn from_pkcs8_pem for easy load client certificate (*.crt and *.key) for feature native-tls.
2022-10-19 10:48:10 -04:00
Jiahao XU
4c377661bb Bump dep trust-dns-resolver to v0.22 (#1647)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-10-09 12:18:55 +00:00
Sean McArthur
a0a7db0113 v0.11.12 2022-09-20 11:14:51 -07:00
Kaede Hoshikawa
74e70627be Migrate to once_cell. (#1565) 2022-07-18 16:16:59 -07:00
Sean McArthur
5397d2cf8e v0.11.11 2022-06-13 13:52:17 -07:00
Jens Reimann
28840afd46 [#1095]: Implement basic_auth for WASM
Signed-off-by: Jens Reimann <jreimann@redhat.com>
2022-05-30 09:32:34 -05:00
hson
a80c863a42 Bump async-compression 2022-05-17 11:30:11 -05:00
Mathspy
d24a5286c7 Implement tower Service for Client (#1420)
* Add tower-service

* Implement tower Service for Client
2022-04-20 16:14:35 -07:00
eyalsatori
5d8bf830cb Enable ClientBuilder to be configure with http1_allow_obsolete_multiline_headers_in_responses (#1521) (#1523) 2022-04-19 08:53:08 -07:00
Paolo Barbolini
9bd4e90ec3 Bump rustls-pemfile to v1 (#1525) 2022-04-14 15:12:10 -07:00
Joel Natividad
fe0d9688f5 Bump cookie to 0.16; tokio-util to 0.7; trust-dns-resolver to 0.21 (#1509) 2022-03-31 10:08:42 -07:00
Sean McArthur
798df70fb0 v0.11.10 2022-03-14 11:39:43 -07:00
ComplexSpaces
b4f716bd3a Update winreg to 0.10 (#1496) 2022-03-10 20:04:16 -08:00
Paolo Barbolini
0384759a19 Bump rustls-pemfile to 0.3 (#1459) 2022-02-07 08:51:44 -08:00
Konrad Borowski
a654d3951e Bump serde_urlencoded to 0.7.1 (#1457)
serde_urlencoded 0.7.0 has an incorrect serde version dependency.
This causes issues in `cargo update -Z minimal-versions` builds.
It's not noticeable while testing in CI because cookie_store depends
on serde 1.0.126, however because this is an optional dependency
there is a possibility that a project using reqwest won't enable
it.
2022-02-04 05:59:03 -08:00
Sean McArthur
0fc1652975 v0.11.9 2022-01-10 15:08:27 -08:00
Josep Mengual
56ad99bebb Add HTTP/0.9 responses support 2022-01-07 11:49:21 -08:00
Sean McArthur
a03ca5012d Fix HTTP/2: retry requests rejected by a graceful shutdown 2022-01-07 11:04:03 -08:00
Sean McArthur
d4986e5583 v0.11.8 2021-12-20 12:45:05 -08:00
ComplexSpaces
baffb9c004 Update to webpki-roots 0.22 (#1396) 2021-12-03 11:34:49 -08:00
Sean McArthur
17890f8c2f v0.11.7 2021-11-30 10:08:39 -08:00
Biagio Festa
8b37ae4b15 Support to rustls 0.20 (#1388) 2021-11-29 12:25:57 -08:00
Paolo Barbolini
8fe22c4885 Remove direct dependency on the time crate (#1390) 2021-11-27 09:58:05 -08:00
Niklas Wolber
0ef1a2ea78 wasm: fix standalone/multipart body conversion to JsValue (#1364) 2021-11-18 16:13:59 -08:00
Fredrik Enestad
ab49de875e Body from tokio::fs::File (#1360) 2021-10-21 15:23:17 -07:00
Sean McArthur
59bc9a9323 v0.11.6 2021-10-18 15:57:30 -07:00
pfernie
136569802e Update cookie_store dependency (#1268)
* Updated `cookie_store` dependency

* Bump `cookie_store` version to `0.14.0`
* Add documentation in `cookie` module to direct users to the
  new `reqwest_cookie_store` crate for more advanced scenarios.

* update `cookie` dependency to `0.15`

* Update for `cookie_store` `v0.14.1`

* Replace usage of deprecated `cookie_store::CookieStore::get_request_cookies`
  for `cookie_store::CookieStore::get_request_values`.

* Update `cookie_store` to `v0.15.0`

The deprecation of `get_request_cookies` should have warranted a
minor version bump.
2021-10-18 11:58:47 -07:00
Sean McArthur
5cc1eff23b v0.11.5 2021-10-07 12:16:10 -07:00
Konrad Borowski
cfa301c7fa wasm: avoid dependency on serde-serialize feature (#1337)
Using this feature makes dependency cycles much more likely.
2021-09-27 10:58:04 -07:00
Jan Verbeek
66c1b48167 Add options for specifying the TLS version (#1315) 2021-08-12 09:41:32 -07:00
Sean McArthur
f5fe17876a v0.11.4 2021-06-21 14:58:56 -07:00
Mohamed Daahir
b48cb4a5aa Add native-tls-alpn feature (#1283) 2021-06-09 17:05:29 -07:00
Mohamed Daahir
8d3e27966c use ZlibDecoder for deflate responses (#1257) 2021-04-26 16:52:29 -07:00
Mohamed Daahir
77ee0df7c5 Support Deflate decoding (#1250) 2021-04-22 10:35:29 -07:00
Sean McArthur
7afade446c v0.11.3 2021-04-12 15:50:10 -07:00
xushaodong
1614c5ea64 supports wasm fetch credentials 2021-04-06 12:42:05 -07:00
Sean McArthur
80999a8963 v0.11.2 2021-03-09 11:05:35 -08:00
nickelc
6ac97dc3aa Add minimal versions check for nightly CI job (#1197) 2021-02-22 16:13:50 -08:00
Kornel
61a955c821 Bump mime to current version (#1196) 2021-02-21 08:42:16 -08:00
meldron
dabb878f32 update native-tls to v0.2.7 (#1183)
Update to v0.2.7 to prevent possible build error (#1181) caused by
incompatible native-tls version < v0.2.7

Co-authored-by: Bernd Kaiser <bk@dfjk.eu>
2021-02-19 05:51:01 -08:00
Sean McArthur
8689aa47e0 v0.11.1 2021-02-18 10:41:02 -08:00
nickelc
c27cd06a11 Use doc_cfg to show feature requirements (#1134)
* Use `doc_cfg` to show feature requirements

* Apply suggestions from code review
2021-02-17 16:48:08 -08:00
glyphpoch
e56bd160ba Enable hyper's runtime feature (#1162) (#1163)
`hyper` implements idle connection cleanup by spawning a new task which
drops the connection after a while. This mechanism requires Tokio, so it
is hidden behing the "runtime" feature, which reqwest doesn't enable,
making some connections stay in the pool forever. Fixes #1162.
2021-02-05 16:36:50 -08:00
Sean McArthur
bd9ff9f371 v0.11.0 2021-01-05 10:19:00 -08:00