Fix documentation of http1_title_case_headers() (#1294)
Case is not preserved either way, so the old text was misleading.
This commit is contained in:
@@ -731,7 +731,7 @@ impl ClientBuilder {
|
||||
self
|
||||
}
|
||||
|
||||
/// Enable case sensitive headers.
|
||||
/// Send headers as title case instead of lowercase.
|
||||
pub fn http1_title_case_headers(mut self) -> ClientBuilder {
|
||||
self.config.http1_title_case_headers = true;
|
||||
self
|
||||
|
||||
Reference in New Issue
Block a user