Skip to content

Commit 27fc9aa

Browse files
Michael-J-Wardseanmonstar
authored andcommitted
docs(server): remove extraneous references to HTTP/2 from HTTP/1 builder docs
Refs: #3085
1 parent 6685c43 commit 27fc9aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/server/conn/http1.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,6 @@ impl Builder {
240240
/// Set whether HTTP/1 connections will write header names as title case at
241241
/// the socket level.
242242
///
243-
/// Note that this setting does not affect HTTP/2.
244-
///
245243
/// Default is false.
246244
pub fn title_case_headers(&mut self, enabled: bool) -> &mut Self {
247245
self.h1_title_case_headers = enabled;
@@ -258,8 +256,6 @@ impl Builder {
258256
/// interact with the original cases. The only effect this can have now is
259257
/// to forward the cases in a proxy-like fashion.
260258
///
261-
/// Note that this setting does not affect HTTP/2.
262-
///
263259
/// Default is false.
264260
pub fn preserve_header_case(&mut self, enabled: bool) -> &mut Self {
265261
self.h1_preserve_header_case = enabled;

0 commit comments

Comments
 (0)