Skip to content

Commit

Permalink
Merge pull request #247 from shahar3012/master
Browse files Browse the repository at this point in the history
Add http1_title_case_headers support to reqwest http client
  • Loading branch information
lovasoa authored Jul 12, 2024
2 parents 2210eb4 + a61600c commit 9e63d16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ pub fn client<'a, I: Iterator<Item = (&'a String, &'a String)>>(
header_map
);
let client = reqwest::Client::builder()
.http1_title_case_headers()
.default_headers(header_map)
.referer(false)
.pool_max_idle_per_host(args.max_idle_per_host)
Expand Down

0 comments on commit 9e63d16

Please sign in to comment.