1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! **The one HTTP client setup** every reqwest client of Holger shares (feature `http`;
//! `http-blocking` adds the blocking builder): reqwest 0.13 with reqwest 0.12 `rustls-tls`
//! behaviour — the ring provider and the bundled Mozilla roots (webpki), not 0.13's
//! aws-lc-rs + OS trust store. Roots added later on the builder are merged in, as in 0.12.
/// The async builder with the ring provider and the webpki roots.
/// The blocking builder with the ring provider and the webpki roots.
/// Read a response body into memory, refusing one larger than `max`: `Content-Length` is
/// checked up front and the cap is enforced again while streaming, so a lying or absent
/// length cannot bypass it.
pub async