Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reqwest's `content_length` method apparantly doesnt check for the casing of "Content-Length". This seems like a bug in reqwest to me. seanmonstar/reqwest#843 ```rust #[tokio::main] async fn main() { let client = reqwest::Client::new(); let head_res = client.head("https://clickhouse-public-datasets.s3.eu-central-1.amazonaws.com/hits_compatible/athena/hits.parquet").send().await.unwrap(); let content_length = head_res.content_length(); assert_eq!(content_length, Some(14779976446)) } ``` closes #2561
- Loading branch information